forked from github/pelican
Add hreflang attribute to default themes
This commit is contained in:
parent
b30270190a
commit
d1d1cccdad
39 changed files with 104 additions and 37 deletions
|
|
@ -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 %}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue