Do the author partial like how the author shortcode needed done.

This commit is contained in:
2025-11-16 18:28:39 -07:00
parent 53deccc716
commit 3f2b174a93

View File

@@ -1,10 +1,10 @@
{{ $author := .Page.Params.author
}}{{ if or (eq $author "authorBug") (eq $author "bug")
}}{{ .Scratch.Set "author" (.Param "authorBug")
}}{{ .Scratch.Set "author" .Site.Params.authorBug
}}{{ else if or (eq $author "authorHyperling") (eq $author "hyperling")
}}{{ .Scratch.Set "author" (.Param "authorHyperling")
}}{{ .Scratch.Set "author" .Site.Params.authorHyperling
}}{{ else if or (eq $author "authorHyperVegan") (eq $author "hypervegan")
}}{{ .Scratch.Set "author" (.Param "authorHyperVegan")
}}{{ .Scratch.Set "author" .Site.Params.authorHyperVegan
}}{{ else
}}{{ .Scratch.Set "author" $author
}}{{ end