From 3e868e8911c5649a453047540f55d0be3929fd56 Mon Sep 17 00:00:00 2001 From: Hyperling Date: Mon, 22 Dec 2025 10:34:22 -0700 Subject: [PATCH] Fix the byline if authorDefault is explicitly provided. --- layouts/partials/byline.html | 2 ++ 1 file changed, 2 insertions(+) diff --git a/layouts/partials/byline.html b/layouts/partials/byline.html index 6400fb8..f39170c 100644 --- a/layouts/partials/byline.html +++ b/layouts/partials/byline.html @@ -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