mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Truncate description of extra pages to 150 characters
This commit is contained in:
@@ -5,7 +5,7 @@
|
|||||||
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
|
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
|
||||||
|
|
||||||
{% block description -%}
|
{% block description -%}
|
||||||
{{ page.summary | safe | striptags }}
|
{{ page.summary | safe | striptags | truncate(length=150) }}
|
||||||
{%- endblock description %}
|
{%- endblock description %}
|
||||||
|
|
||||||
{% block main %}
|
{% block main %}
|
||||||
|
|||||||
Reference in New Issue
Block a user