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 }}
|
{{ if .Params.subtitle }}
|
||||||
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Params.author }}
|
{{ if (isset .Params "author") }}
|
||||||
<pre>{{ partial "byline.html" . }}</pre>
|
<pre>{{ partial "byline.html" . }}</pre>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user