Run the byline partial if the author tag is present, even if it's null.
This commit is contained in:
@@ -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 }}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user