aboutsummaryrefslogtreecommitdiff
path: root/source/template.html
diff options
context:
space:
mode:
Diffstat (limited to 'source/template.html')
-rw-r--r--source/template.html7
1 files changed, 6 insertions, 1 deletions
diff --git a/source/template.html b/source/template.html
index 5d18121b..eac772c4 100644
--- a/source/template.html
+++ b/source/template.html
@@ -37,7 +37,12 @@ $if(subtitle)$
<h1 class="article-subtitle">$subtitle$</h1>
$endif$
<div class="article-metadata">
- $if(date_display)$<time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date_display$</time>, $endif$by <span class="article-author">Zhiming Wang</span>
+$if(author)$
+ <span class="article-author">$author$</span><br/>
+$endif$
+$if(date_display)$
+ <time class="article-timestamp" $if(date)$datetime="$date$"$endif$>$date_display$</time>
+$endif$
</div>
</header>
$endif$