Run the byline partial if the author tag is present, even if it's null.

This commit is contained in:
2025-11-16 19:00:41 -07:00
parent 8c434ab71d
commit 0f332ec4ee

View File

@@ -24,7 +24,7 @@
{{ if .Params.subtitle }}
<strong>{{ .Params.subtitle | markdownify }}</strong>
{{ end }}
{{ if .Params.author }}
{{ if (isset .Params "author") }}
<pre>{{ partial "byline.html" . }}</pre>
{{ end }}