aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3/templates/page.html
diff options
context:
space:
mode:
authorCédric Bonhomme <cedric@cedricbonhomme.org>2020-01-15 11:41:50 +0100
committerCédric Bonhomme <cedric@cedricbonhomme.org>2020-01-15 11:41:50 +0100
commitb255e7415bdcb56cababb6b64bb41d8dfee72485 (patch)
tree70dace23590b18f34cc92c57c20e497ed7560760 /pelican-bootstrap3/templates/page.html
parent4f432660285f1857c7bd33bfb5dcba3d5b4e7f12 (diff)
downloadpelican-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/templates/page.html')
-rw-r--r--pelican-bootstrap3/templates/page.html2
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 %}