Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/vickylaixy/hugo-theme-introduction.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/blog/single.html')
-rw-r--r--layouts/blog/single.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 219f3b6..773e67c 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -9,6 +9,11 @@
<h2 class="title is-1 top-pad strong-post-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
</h2>
+ {{ if .Params.author }}
+ <h4 class="title is-4">
+ By {{ .Params.author | markdownify }}
+ </h4>
+ {{ end }}
<div class="post-data">
{{ if .Params.date }}{{ .Date.Format (.Site.Params.dateFormat | default ":date_medium") }}{{ end }}
{{ if .Site.Params.showReadingTime | default true }}