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

github.com/leonstafford/accessible-minimalism-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--layouts/partials/metadata.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/layouts/partials/metadata.html b/layouts/partials/metadata.html
index fc43ecb..5223f4a 100644
--- a/layouts/partials/metadata.html
+++ b/layouts/partials/metadata.html
@@ -1,5 +1,7 @@
{{if .Params.author}}
- <p>by {{.Params.author}}{{else}}{{ .Site.Params.author }}</p>
+ <p>by {{.Params.author}}</p>
+{{else if .Site.Params.author}}
+ <p>by {{.Site.Params.author}}</p>
{{end}}
{{ if not .Date.IsZero }}