Rename partial author to byline.

This commit is contained in:
2025-11-16 18:30:47 -07:00
parent 7b8342eba0
commit e60c63626b
2 changed files with 1 additions and 1 deletions

View File

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