Fix the byline if authorDefault is explicitly provided.
This commit is contained in:
1 parent
eb57d715ff
commit
3e868e8911
1 file changed
+2
@@ -5,6 +5,8 @@
|
||||
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling
|
||||
}}{{ else if or (eq $author "authorhypervegan") (eq $author "hypervegan")
|
||||
}}{{ .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 ""))
|
||||
}}{{ .Scratch.Set "author" $author
|
||||
}}{{ else
|
||||
|
||||
Reference in new issue
Block a user