Skip to content

Commit

Permalink
fix meta image
Browse files Browse the repository at this point in the history
  • Loading branch information
maxxturing committed Jul 29, 2023
1 parent 6b66eb8 commit 5048e1a
Show file tree
Hide file tree
Showing 4 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,12 +4,12 @@ description: > # this means to ignore newlines until "baseurl:"
permalink: ':title'
# permalink: ':title'
baseurl: '' # the subpath of your site, e.g. /blog
url: 'http://maxxturing.com' # the base hostname & protocol for your site, e.g. http://example.com
url: 'https://maxxturing.com' # the base hostname & protocol for your site, e.g. http://example.com
site-twitter: maxxturing #if your site has a twitter account, enter it here

# Author Settings
author: Maxx Turing # add your name
# author-img: maxx-turing.png # add your photo
author-img: meta-cover.png # add your photo
about-author: Maxx Turing | Founder at Startbook | Tech entrepreneur helping other founders succeed. # add description
social-twitter: maxxturing # add your Twitter handle
social-instagram: maxxturing # add your Instagram handle
Expand Down
8 changes: 4 additions & 4 deletions _includes/head-notags.html
Original file line number Diff line number Diff line change
Expand Up @@ -23,11 +23,11 @@
<meta content="{{ page.date | date_to_xmlschema }}" property="article:published_time">
<meta content="{{ site.url }}/about/" property="article:author">
{% endif %}
<!-- {% if page.img %}
{% if page.img %}
<meta content="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.img }}" property="og:image">
{% else %}
<meta content="{{ site.url }}{{ site.baseurl }}/assets/img/{{ site.author-img }}" property="og:image">
{% endif %} -->
{% endif %}
{% if page.categories %}
{% for category in page.categories limit:1 %}
<meta content="{{ category }}" property="article:section">
Expand Down Expand Up @@ -55,11 +55,11 @@
{% else %}
<meta name="twitter:description" content="{{ site.description }}">
{% endif %}
<!-- {% if page.img %}
{% if page.img %}
<meta name="twitter:image:src" content="{{ site.url }}{{ site.baseurl }}/assets/img/{{ page.img }}">
{% else %}
<meta name="twitter:image:src" content="{{ site.url }}{{ site.baseurl }}/assets/img/{{ site.author-img }}">
{% endif %} -->
{% endif %}

<meta name="description" content="{{ page.description }}">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
8 changes: 4 additions & 4 deletions _site/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,9 +19,9 @@
<meta content="http://localhost:4000/" property="og:url">


<!--

<meta content="http://localhost:4000/assets/img/meta-cover.png" property="og:image">
-->




Expand All @@ -38,9 +38,9 @@
<meta name="twitter:description" content="Maxx Turing | Founder at Startbook | Tech entrepreneur helping other founders succeed.
">

<!--

<meta name="twitter:image:src" content="http://localhost:4000/assets/img/meta-cover.png">
-->


<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down
8 changes: 4 additions & 4 deletions _site/portfolio/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
<meta content="http://localhost:4000/portfolio/" property="og:url">


<!--

<meta content="http://localhost:4000/assets/img/meta-cover.png" property="og:image">
-->




Expand All @@ -37,9 +37,9 @@
<meta name="twitter:description" content="Maxx Turing | Founder at Startbook | Tech entrepreneur helping other founders succeed.
">

<!--

<meta name="twitter:image:src" content="http://localhost:4000/assets/img/meta-cover.png">
-->


<meta name="description" content="">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
Expand Down

0 comments on commit 5048e1a

Please sign in to comment.