mirror of
https://github.com/nairobilug/pelican-alchemy.git
synced 2024-12-30 12:15:06 +01:00
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 %}
|
{% block head %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{% if article.summary %}
|
|
||||||
<meta name="description" content="{{ article.summary|striptags }}">
|
<meta name="description" content="{{ article.summary|striptags }}">
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
|
|
|
||||||
|
|
@ -2,9 +2,7 @@
|
||||||
|
|
||||||
{% block head %}
|
{% block head %}
|
||||||
{{ super() }}
|
{{ super() }}
|
||||||
{% if page.summary %}
|
|
||||||
<meta name="description" content="{{ page.summary|striptags }}">
|
<meta name="description" content="{{ page.summary|striptags }}">
|
||||||
{% endif %}
|
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block title %}
|
{% block title %}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue