From b255e7415bdcb56cababb6b64bb41d8dfee72485 Mon Sep 17 00:00:00 2001 From: Cédric Bonhomme Date: Wed, 15 Jan 2020 11:41:50 +0100 Subject: Strip HTML tags from head title. According to getpelican/pelican#1998 this issue must be handled in the theme. --- pelican-bootstrap3/templates/page.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pelican-bootstrap3/templates/page.html') 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 %} -- cgit