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:
57fb2d9
)
theme: more compact markup for jumbo articles.
author
Vladimír Vondruš
<mosra@centrum.cz>
Sat, 9 Dec 2017 22:04:48 +0000
(23:04 +0100)
committer
Vladimír Vondruš
<mosra@centrum.cz>
Mon, 11 Dec 2017 01:48:25 +0000
(
02:48
+0100)
pelican-theme/templates/article.html
patch
|
blob
|
history
diff --git
a/pelican-theme/templates/article.html
b/pelican-theme/templates/article.html
index 4a3e47ccaf8e2fa2a19196b3719f03448b7ac3d6..645f94898902fce8137e9b2133dcb5951106c16b 100644
(file)
--- a/
pelican-theme/templates/article.html
+++ b/
pelican-theme/templates/article.html
@@
-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 %}