aboutsummaryrefslogtreecommitdiffstats
path: root/pelican-bootstrap3
diff options
context:
space:
mode:
authorJustin Mayer <entroP@gmail.com>2020-03-16 10:41:26 +0100
committerGitHub <noreply@github.com>2020-03-16 10:41:26 +0100
commitdcfb5cd30708576bf41866740ba26d0b2843eaba (patch)
treed43cb434447198436d468a965a63802e2a09df88 /pelican-bootstrap3
parent3408de0db48c417998c24f6070a1cdc1c1b57b98 (diff)
parentb255e7415bdcb56cababb6b64bb41d8dfee72485 (diff)
downloadpelican-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.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 %}