article.summary, and page.summary are always set

Pelican will use `Summary:` or trim the content
main
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 %}