aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/css/theme.css2
-rw-r--r--source/template.html7
2 files changed, 7 insertions, 2 deletions
diff --git a/source/css/theme.css b/source/css/theme.css
index e8384da9..b81f989d 100644
--- a/source/css/theme.css
+++ b/source/css/theme.css
@@ -104,7 +104,7 @@ h2 {
text-align: center;
font-size: 100%;
font-weight: normal;
- font-style: italic;
+ margin: 1em 0;
}
a {
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$