summaryrefslogtreecommitdiff
path: root/templates/article.html
diff options
context:
space:
mode:
authorMatthias Andreas Benkard <code@mail.matthias.benkard.de>2017-05-14 16:43:31 +0200
committerMatthias Andreas Benkard <code@mail.matthias.benkard.de>2017-05-14 16:43:31 +0200
commit2f41dd86c826c3754f49a55a5fd87c5e924417cc (patch)
tree0b8a59cef74d24b4f36c7a289f2f0e2d4cf0ae28 /templates/article.html
parenta5e590a25f7fcb829daa2b100ae29503c9c4d070 (diff)
Omit empty titles from articles.
Diffstat (limited to 'templates/article.html')
-rw-r--r--templates/article.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/templates/article.html b/templates/article.html
index aed5406..cde94fc 100644
--- a/templates/article.html
+++ b/templates/article.html
@@ -1,6 +1,8 @@
<article>
<div class="article">
- <h1><a href="{link|html-attr-value}">{title}</a></h1>
+ {.section title}
+ <h1><a href="{link|html-attr-value}">{@}</a></h1>
+ {.end}
<div class="article-header">
<header>