From 0de3825d40caec1c4f14937cabf77ab937dc3182 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Mon, 11 Dec 2017 01:33:15 +0100 Subject: [PATCH] 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. --- pelican-theme/templates/article.html | 6 +++--- pelican-theme/templates/page.html | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) 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 %} -- 2.30.2