From: Vladimír Vondruš Date: Sat, 9 Dec 2017 22:04:48 +0000 (+0100) Subject: theme: more compact markup for jumbo articles. X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~cjwatson/git?a=commitdiff_plain;h=66d3930cb0c387a2f7ac47363ccaece82ca872e3;p=blog.git theme: more compact markup for jumbo articles. --- 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 %}