mirror of
https://github.com/phil-opp/blog_os.git
synced 2025-12-16 22:37:49 +00:00
Truncate site description to 150 characters
According to the Bing webmaster tools, this is recommended for SEO.
This commit is contained in:
@@ -12,7 +12,7 @@
|
||||
{% endblock header %}
|
||||
|
||||
{% block description -%}
|
||||
{{ page.summary | safe | striptags }}
|
||||
{{ page.summary | safe | striptags | truncate(length=150) }}
|
||||
{%- endblock description %}
|
||||
|
||||
{% block main %}
|
||||
|
||||
Reference in New Issue
Block a user