From e7d2c568185303e06e928a3e1210c498714c8901 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Wed, 11 Oct 2017 21:36:39 +0200 Subject: [PATCH] theme: no need to strip tags from article title. Also: might be harmful if using quotes etc. --- pelican-theme/templates/article.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pelican-theme/templates/article.html b/pelican-theme/templates/article.html index 24f86802..37d26ac9 100644 --- a/pelican-theme/templates/article.html +++ b/pelican-theme/templates/article.html @@ -8,8 +8,8 @@ {% endif %} - - + + @@ -36,7 +36,7 @@
{% set title = article.title.split(' — ') %} -

+

{{ title[0] }}

{% if title|length >= 2 %} -- 2.30.2