From: Vladimír Vondruš Date: Wed, 11 Oct 2017 19:36:39 +0000 (+0200) Subject: theme: no need to strip tags from article title. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=e7d2c568185303e06e928a3e1210c498714c8901;p=blog.git theme: no need to strip tags from article title. Also: might be harmful if using quotes etc. --- 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 %}