1
0
Fork 0
forked from github/pelican

remove article.keywords from simple theme

We don't process 'keywords' metadata specially, so it never gets
processed into a list.

This prevents issues like #1733.
This commit is contained in:
derwinlu 2015-09-05 10:53:44 +02:00
commit b0d41f081b

View file

@ -1,10 +1,6 @@
{% extends "base.html" %}
{% block head %}
{{ super() }}
{% for keyword in article.keywords %}
<meta name="keywords" content="{{keyword}}" />
{% endfor %}
{% if article.description %}
<meta name="description" content="{{article.description}}" />
{% endif %}