diff options
author | Justin Mayer <entroP@gmail.com> | 2020-03-16 10:41:26 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-03-16 10:41:26 +0100 |
commit | dcfb5cd30708576bf41866740ba26d0b2843eaba (patch) | |
tree | d43cb434447198436d468a965a63802e2a09df88 /pelican-bootstrap3 | |
parent | 3408de0db48c417998c24f6070a1cdc1c1b57b98 (diff) | |
parent | b255e7415bdcb56cababb6b64bb41d8dfee72485 (diff) | |
download | pelican-themes-dcfb5cd30708576bf41866740ba26d0b2843eaba.tar.gz |
Merge pull request #672 from cedricbonhomme/strip-html-tags-from-head-title
pelican-bootstrap3: Strip HTML tags from head title
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 %} |