Fix the byline if authorDefault is explicitly provided.

This commit is contained in:
2025-12-22 10:34:22 -07:00
parent eb57d715ff
commit 3e868e8911

View File

@@ -5,6 +5,8 @@
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling }}{{ .Scratch.Set "author" .Site.Params.authorHyperling
}}{{ else if or (eq $author "authorhypervegan") (eq $author "hypervegan") }}{{ else if or (eq $author "authorhypervegan") (eq $author "hypervegan")
}}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan }}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan
}}{{ else if or (eq $author "authordefault") (eq $author "default")
}}{{ .Scratch.Set "author" .Site.Params.authorDefault
}}{{ else if and ($author) (not (eq $author "")) }}{{ else if and ($author) (not (eq $author ""))
}}{{ .Scratch.Set "author" $author }}{{ .Scratch.Set "author" $author
}}{{ else }}{{ else