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:
authorLeon Stafford <me@ljs.dev>2021-11-13 02:20:51 +0300
committerGitHub <noreply@github.com>2021-11-13 02:20:51 +0300
commit057bd3b35c97aefce96476d35dbe83a79b026b7b (patch)
tree9478a62d5f9e0112252a415eba8dd5f9f9caf01c
parent65dd53e76aa58f45ad47d81ae5f35555cceacd96 (diff)
parent5fb377a079433567f3299767ce26196e82e4b737 (diff)
Merge pull request #6 from sirfredrick/masterHEADmaster
maintain XHTML 1.0 strict with blank author
-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 }}