diff options
author | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-01-15 11:41:50 +0100 |
---|---|---|
committer | Cédric Bonhomme <cedric@cedricbonhomme.org> | 2020-01-15 11:41:50 +0100 |
commit | b255e7415bdcb56cababb6b64bb41d8dfee72485 (patch) | |
tree | 70dace23590b18f34cc92c57c20e497ed7560760 /pelican-bootstrap3 | |
parent | 4f432660285f1857c7bd33bfb5dcba3d5b4e7f12 (diff) | |
download | pelican-themes-b255e7415bdcb56cababb6b64bb41d8dfee72485.tar.gz |
Strip HTML tags from head title. According to getpelican/pelican#1998 this issue must be handled in the theme.
Diffstat (limited to 'pelican-bootstrap3')
-rw-r--r-- | pelican-bootstrap3/templates/page.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pelican-bootstrap3/templates/page.html b/pelican-bootstrap3/templates/page.html index c4d35ee..4fd8a82 100644 --- a/pelican-bootstrap3/templates/page.html +++ b/pelican-bootstrap3/templates/page.html @@ -1,5 +1,5 @@ {% extends "base.html" %} -{% block title %}{{ page.title }} - {{ SITENAME }}{% endblock %} +{% block title %}{{ page.title | striptags }} - {{ SITENAME }}{% endblock %} {% block html_lang %}{{ page.lang }}{% endblock %} {% block meta %} {% if page.author %} |