Skip to content

Commit

Permalink
Fix Twitter Cards and Open Graph image URLs
Browse files Browse the repository at this point in the history
Use general site avatar instead of requiring a separate 512px image.
  • Loading branch information
iKevinY committed Dec 31, 2015
1 parent e57304a commit 54869e2
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion templates/article.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="twitter:site" content="{{ TWITTER_USERNAME }}">
<meta property="og:title" content="{{ article.title|striptags }}">
<meta property="og:description" content="{{ article.summary|striptags }}">
<meta property="og:image" content="{{ SITEURL }}/theme/images/avatar512.png">
<meta property="og:image" content="{{ SITEURL }}/{{ ICONS_PATH }}/avatar.png">
<meta property="og:type" content="article">
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}">
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<!-- Open Graph -->
<meta property="og:title" content="{{ SITENAME }}">
<meta property="og:description" content="{{ INDEX_DESCRIPTION }}">
<meta property="og:image" content="{{ SITEURL }}/theme/png/avatar512.png">
<meta property="og:image" content="{{ SITEURL }}/{{ ICONS_PATH }}/avatar.png">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ SITEURL }}">
{% endblock %}
Expand Down
2 changes: 1 addition & 1 deletion templates/page.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
<meta name="twitter:site" content="{{ TWITTER_USERNAME }}">
<meta property="og:title" content="{{ page.title | striptags }}">
<meta property="og:description" content="{{ page.summary | striptags }}">
<meta property="og:image" content="{{ SITEURL }}/theme/images/avatar512.png">
<meta property="og:image" content="{{ SITEURL }}/{{ ICONS_PATH }}/avatar.png">
<meta property="og:type" content="website">
<meta property="og:url" content="{{ SITEURL }}/{{ page.url }}">
{% endblock %}
Expand Down

0 comments on commit 54869e2

Please sign in to comment.