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

github.com/EmielH/tale-hugo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/single/post-info.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/single/post-info.html b/layouts/partials/single/post-info.html
index d4a4353..b5c8aa3 100644
--- a/layouts/partials/single/post-info.html
+++ b/layouts/partials/single/post-info.html
@@ -3,11 +3,11 @@
{{- if .Params.Author }}
{{ .Params.Author }}
{{- else }}
- {{ .Site.Params.Author }}
+ {{ .Site.Author.name }}
{{- end }}
{{- if .PublishDate }}
<br>
<span>{{ i18n "on" }}&nbsp;</span><time datetime="{{ .PublishDate }}">{{ i18n "publishdate" . }}</time>
{{- end }}
-</div> \ No newline at end of file
+</div>