page template: strip tags from site title
A website's `<title>` cannot contain further html formatting and layouting elements. Thus, as already done in the article template, additional html tags need to be stripped from the title to not appear in verbatim in a browser's title page. This is relevant when using TYPOGRIFY integration, as that might also augment a page title with further html elements automatically.
This commit is contained in:
parent
af0cfa52e3
commit
8484e93075
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block title %} – {{ page.title }}{% endblock %}
|
{% block title %} – {{ page.title|striptags|escape }}{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
<article class="single">
|
<article class="single">
|
||||||
|
|
Loading…
Reference in a new issue