1
0
Fork 0
forked from github/pelican

Add hreflang attribute to default themes

This commit is contained in:
Jorge Maldonado Ventura 2018-07-05 00:26:50 +02:00
commit d1d1cccdad
39 changed files with 104 additions and 37 deletions

View file

@ -5,6 +5,12 @@
{% block head %}
{{ super() }}
{% import 'translations.html' as translations with context %}
{% if translations.entry_hreflang(article) %}
{{ translations.entry_hreflang(article) }}
{% endif %}
{% if article.description %}
<meta name="description" content="{{article.description}}" />
{% endif %}