Truncate site description to 150 characters

According to the Bing webmaster tools, this is recommended for SEO.
This commit is contained in:
Philipp Oppermann
2020-02-21 11:24:45 +01:00
parent 516bc38b2b
commit b03a368191

View File

@@ -12,7 +12,7 @@
{% endblock header %} {% endblock header %}
{% block description -%} {% block description -%}
{{ page.summary | safe | striptags }} {{ page.summary | safe | striptags | truncate(length=150) }}
{%- endblock description %} {%- endblock description %}
{% block main %} {% block main %}