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}}" /> <meta name="keywords" content="{{keyword}}" />
{% endfor %} {% endfor %}
{% for description in article.description %} {% if article.description %}
<meta name="description" content="{{description}}" /> <meta name="description" content="{{article.description}}" />
{% endfor %} {% endif %}
{% for tag in article.tags %} {% for tag in article.tags %}
<meta name="tags" content="{{tag}}" /> <meta name="tags" content="{{tag}}" />