chiark
/
gitweb
/
~cjwatson
/
blog.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d36222
)
theme: proper jumbo article header splitting.
author
Vladimír Vondruš
<mosra@centrum.cz>
Fri, 25 Aug 2017 23:12:38 +0000
(
01:12
+0200)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Fri, 25 Aug 2017 23:12:38 +0000
(
01:12
+0200)
pelican-theme/templates/article.html
patch
|
blob
|
history
diff --git
a/pelican-theme/templates/article.html
b/pelican-theme/templates/article.html
index 89053e3f75b5c999a8154fa43b882d8cef924157..890bae7cd61fa55d2aff2be4858c7b3fa660b992 100644
(file)
--- a/
pelican-theme/templates/article.html
+++ b/
pelican-theme/templates/article.html
@@
-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('
—
') %}
+ {% set title = article.title.split('
—
') %}
<h1><a href="{{ article.url }}" rel="bookmark"
title="Permalink to {{ article.title|striptags }}">
{{ title[0] }}