article.summary, and page.summary are always set

Pelican will use `Summary:` or trim the content
This commit is contained in:
Raymond Wanyoike 2016-11-07 10:07:44 +03:00
parent d2533f8f57
commit 27de618fdb
2 changed files with 0 additions and 4 deletions

View file

@ -2,9 +2,7 @@
{% block head %}
{{ super() }}
{% if article.summary %}
<meta name="description" content="{{ article.summary|striptags }}">
{% endif %}
{% endblock %}
{% block title %}

View file

@ -2,9 +2,7 @@
{% block head %}
{{ super() }}
{% if page.summary %}
<meta name="description" content="{{ page.summary|striptags }}">
{% endif %}
{% endblock %}
{% block title %}