Do the author partial like how the author shortcode needed done.
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user