Correct render of article description meta

in the simple theme: the template incorrectly assumed that the source
metadata is made available as a list of strings. Fixes #1792.
This commit is contained in:
jah 2015-08-11 20:03:43 +01:00
commit ed34ee1808

View file

@ -5,9 +5,9 @@
<meta name="keywords" content="{{keyword}}" />
{% endfor %}
{% for description in article.description %}
<meta name="description" content="{{description}}" />
{% endfor %}
{% if article.description %}
<meta name="description" content="{{article.description}}" />
{% endif %}
{% for tag in article.tags %}
<meta name="tags" content="{{tag}}" />