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

github.com/yihui/hugo-xmag.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/single.html')
-rw-r--r--layouts/_default/single.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 62f1c83..173ec3b 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -11,8 +11,8 @@
<h1><span class="title">{{ .Title }}</span></h1>
- {{ with .Params.author }}
- <h3 class="author">{{ . }}</h3>
+ {{ if .Params.author }}
+ <h3 class="author">{{ partial "author_names.html" . }}</h3>
{{ end }}
{{ with .Params.tags }}