article.summary, and page.summary are always set
Pelican will use `Summary:` or trim the content
This commit is contained in:
parent
d2533f8f57
commit
27de618fdb
2 changed files with 0 additions and 4 deletions
|
@ -2,9 +2,7 @@
|
|||
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% if article.summary %}
|
||||
<meta name="description" content="{{ article.summary|striptags }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
|
|
|
@ -2,9 +2,7 @@
|
|||
|
||||
{% block head %}
|
||||
{{ super() }}
|
||||
{% if page.summary %}
|
||||
<meta name="description" content="{{ page.summary|striptags }}">
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
{% block title %}
|
||||
|
|
Loading…
Reference in a new issue