chiark / gitweb /
theme: more compact markup for jumbo articles.
authorVladimír Vondruš <mosra@centrum.cz>
Sat, 9 Dec 2017 22:04:48 +0000 (23:04 +0100)
committerVladimír Vondruš <mosra@centrum.cz>
Mon, 11 Dec 2017 01:48:25 +0000 (02:48 +0100)
pelican-theme/templates/article.html

index 4a3e47ccaf8e2fa2a19196b3719f03448b7ac3d6..645f94898902fce8137e9b2133dcb5951106c16b 100644 (file)
@@ -38,9 +38,7 @@
             <div class="m-row">
               <div class="m-col-t-12 m-col-s-10 m-push-s-1 m-col-m-8 m-push-m-2">
                 {% set title = article.title.split(' — ') %}
-                <h1><a href="{{ article.url|format_siteurl }}" rel="bookmark" title="Permalink to {{ article.title }}">
-                  {{ title[0] }}
-                </a></h1>
+                <h1><a href="{{ article.url|format_siteurl }}" rel="bookmark" title="Permalink to {{ article.title }}">{{ title[0] }}</a></h1>
                 {% if title|length >= 2 %}
                 <h2>{{ title[1] }}</h2>
                 {% endif %}