chiark / gitweb /
theme: proper jumbo article header splitting.
authorVladimír Vondruš <mosra@centrum.cz>
Fri, 25 Aug 2017 23:12:38 +0000 (01:12 +0200)
committerVladimír Vondruš <mosra@centrum.cz>
Fri, 25 Aug 2017 23:12:38 +0000 (01:12 +0200)
pelican-theme/templates/article.html

index 89053e3f75b5c999a8154fa43b882d8cef924157..890bae7cd61fa55d2aff2be4858c7b3fa660b992 100644 (file)
@@ -35,7 +35,7 @@
               </div>
               <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(' &#8212; ') %}
+                  {% set title = article.title.split('  ') %}
                   <h1><a href="{{ article.url }}" rel="bookmark"
         title="Permalink to {{ article.title|striptags }}">
                   {{ title[0] }}