|
|
@ -5,7 +5,7 @@ |
|
|
|
{# Thumbnail image to show when homepage is shared on social media. It also |
|
|
|
serves as the default image for posts whose featured_image is not set. #} |
|
|
|
{% if not FEATURED_IMAGE %} |
|
|
|
{% set FEATURED_IMAGE = 'http://homebrewserver.club/images/conv_2.png' %} |
|
|
|
{% set FEATURED_IMAGE = 'http://homebrewserver.club/extra/featured_image_black.gif' %} |
|
|
|
{% else %} |
|
|
|
{% set FEATURED_IMAGE = FEATURED_IMAGE %} |
|
|
|
{% endif %} |
|
|
@ -15,7 +15,7 @@ serves as the default image for posts whose featured_image is not set. #} |
|
|
|
{% if article %} |
|
|
|
<meta property="og:title" content="{{ article.title|striptags|e }} {%if article.subtitle %} - {{ article.subtitle|striptags|e }} {% endif %}"/> |
|
|
|
<meta property="og:url" content="{{ SITEURL }}/{{ article.url }}" /> |
|
|
|
<meta property="og:description" content="{{article.summary|striptags|e}}" /> |
|
|
|
<meta property="og:description" content="{{article.description|striptags|e}}" /> |
|
|
|
<meta property="og:site_name" content="{{ SITENAME|striptags|e }}" /> |
|
|
|
<meta property="og:article:author" content="{{ article.author }}" /> |
|
|
|
{% if article.date %} |
|
|
@ -26,7 +26,7 @@ serves as the default image for posts whose featured_image is not set. #} |
|
|
|
{% endif %} |
|
|
|
<meta name="twitter:card" content="summary_large_image"> |
|
|
|
<meta name="twitter:title" content="{{ article.title|striptags|e }} {%if article.subtitle %} - {{ article.subtitle|striptags|e }} {% endif %}"> |
|
|
|
<meta name="twitter:description" content="{{article.summary|striptags|e}}"> |
|
|
|
<meta name="twitter:description" content="{{article.description|striptags|e}}"> |
|
|
|
{% if article.featured_image %} |
|
|
|
<meta property="og:image" content="{{article.featured_image}}" /> |
|
|
|
<meta name="twitter:image" content="{{article.featured_image}}" > |
|
|
|