Skip to content

Commit

Permalink
Merge pull request artemsheludko#13 from kentonh/master
Browse files Browse the repository at this point in the history
Fixes typos in Twitter image URLs
  • Loading branch information
artemsheludko authored Nov 15, 2017
2 parents 47c2931 + 0150f29 commit 1e45328
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ description: > # this means to ignore newlines until "baseurl:"
permalink: ':title/'
baseurl: "/flexible-jekyll" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com
site-twitter: "" #if your site has a twitter account, enter it here
site-twitter: #if your site has a twitter account, enter it here

# Author Settings
author: David Freeman # add your name
Expand Down
8 changes: 4 additions & 4 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@
{% else %}
<meta name="twitter:card" content="{{ page.description }}">
{% endif %}
<meta name="twitter:site" content="@{{ site-twitter }}">
<meta name="twitter:creator" content="@{{ twitter }}">
<meta name="twitter:site" content="@{{ site.site-twitter }}">
<meta name="twitter:creator" content="@{{ site.twitter }}">
{% if page.title %}
<meta name="twitter:title" content="{{ page.title }}">
{% else %}
Expand All @@ -63,10 +63,10 @@
{% else %}
<meta name="twitter:description" content="{{ site.description }}">
{% endif %}
{% if page.image %}
{% 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 }}/img/{{ site.author-img }}">
<meta name="twitter:image:src" content="{{ site.url }}{{ site.baseurl }}/assets/img/{{ site.author-img }}">
{% endif %}

<meta name="description" content="{{ page.description }}">
Expand Down

0 comments on commit 1e45328

Please sign in to comment.