summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mulkcms.lisp2
-rw-r--r--templates/article.html4
2 files changed, 4 insertions, 2 deletions
diff --git a/mulkcms.lisp b/mulkcms.lisp
index c4bbc60..5adc7a7 100644
--- a/mulkcms.lisp
+++ b/mulkcms.lisp
@@ -343,7 +343,7 @@
(list :publishing-date publishing-date
:revision rid
:last-updated-date date
- :title title
+ :title (and (not (equal "" title)) title)
:body content
:article-id article
:global-id global-id
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>