Browse Source

Merge branch 'master' of ssh://vvvvvvaria.org:12345/varia/varia.website

master
mb@mb 7 years ago
parent
commit
d9746df24a
  1. 6
      themes/cetcat/templates/syndication.html

6
themes/cetcat/templates/syndication.html

@ -28,9 +28,9 @@ serves as the default image for posts whose featured_image is not set. #}
<meta name="twitter:title" content="{{ article.title|striptags|e }} {%if article.subtitle %} - {{ article.subtitle|striptags|e }} {% endif %}"> <meta name="twitter:title" content="{{ article.title|striptags|e }} {%if article.subtitle %} - {{ article.subtitle|striptags|e }} {% endif %}">
<meta name="twitter:description" content="{{article.description|striptags|e}}"> <meta name="twitter:description" content="{{article.description|striptags|e}}">
{% if article.featured_image %} {% if article.featured_image %}
<meta property="og:image" content="{{article.featured_image}}" /> <meta property="og:image" content="{{SITEURL}}{{article.featured_image}}" />
<meta property="og:image:secure_url" content="{{article.featured_image}}" /> <meta property="og:image:secure_url" content="{{SITEURL}}{{article.featured_image}}" />
<meta name="twitter:image" content="{{article.featured_image}}" > <meta name="twitter:image" content="{{SITEURL}}{{article.featured_image}}" >
{% else %} {% else %}
{% if FEATURED_IMAGE %} {% if FEATURED_IMAGE %}
<meta property="og:image" content="{{FEATURED_IMAGE}}" /> <meta property="og:image" content="{{FEATURED_IMAGE}}" />

Loading…
Cancel
Save