aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--assets/style.css4
-rw-r--r--layouts/_default/single.html12
2 files changed, 9 insertions, 7 deletions
diff --git a/assets/style.css b/assets/style.css
index afa00b3..0b600e6 100644
--- a/assets/style.css
+++ b/assets/style.css
@@ -146,6 +146,10 @@ h3.blog-filter {
opacity: 0.7;
}
+p.byline {
+ font-style: italic;
+}
+
/* "Skip to main content" link */
.skip-link {
position: absolute;
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 371a382..89b58d5 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,13 +1,11 @@
{{ define "main" }}
{{ if not .Params.menu }}
<h1>{{ .Title }}</h1>
-<p>
- <i>
- <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
- {{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
- </time>
- {{ with .Params.author }}· {{.}}{{ end }}
- </i>
+<p class="byline">
+ <time datetime='{{ .Date.Format "2006-01-02" }}' pubdate>
+ {{ .Date.Format (default "2006-01-02" .Site.Params.dateFormat) }}
+ </time>
+ {{ with .Params.author }}· {{.}}{{ end }}
</p>
{{ end }}
<content>