From: Vladimír Vondruš Date: Mon, 11 Dec 2017 00:33:15 +0000 (+0100) Subject: theme: dehyphenate summary and description in tags. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=0de3825d40caec1c4f14937cabf77ab937dc3182;p=blog.git theme: dehyphenate summary and description in tags. 3rd party websites and other tools might not expect that and it can cause weird look in some cases. --- diff --git a/pelican-theme/templates/article.html b/pelican-theme/templates/article.html index 49b4b221..7fb459df 100644 --- a/pelican-theme/templates/article.html +++ b/pelican-theme/templates/article.html @@ -5,7 +5,7 @@ {% block head %} {{- super() -}} {% if article.description %} - + {% endif %} @@ -13,8 +13,8 @@ {% if article.summary %} - - + + {% endif %} {% if article.cover %} diff --git a/pelican-theme/templates/page.html b/pelican-theme/templates/page.html index b7d3c9bc..3ea346c2 100644 --- a/pelican-theme/templates/page.html +++ b/pelican-theme/templates/page.html @@ -16,15 +16,15 @@ {% block head %} {{- super() -}} {% if page.description %} - + {% endif %} {% if page.summary %} - - + + {% endif %} {% if page.cover %}