From 66d3930cb0c387a2f7ac47363ccaece82ca872e3 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Vladim=C3=ADr=20Vondru=C5=A1?= Date: Sat, 9 Dec 2017 23:04:48 +0100 Subject: [PATCH] theme: more compact markup for jumbo articles. --- pelican-theme/templates/article.html | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pelican-theme/templates/article.html b/pelican-theme/templates/article.html index 4a3e47cc..645f9489 100644 --- a/pelican-theme/templates/article.html +++ b/pelican-theme/templates/article.html @@ -38,9 +38,7 @@
{% set title = article.title.split(' — ') %} -

- {{ title[0] }} -

+

{{ title[0] }}

{% if title|length >= 2 %}

{{ title[1] }}

{% endif %} -- 2.30.2