Call the author partial rather than simply placing the author in the content.
This commit is contained in:
1 parent
303d51066a
commit
0471787ed5
1 file changed
+1
-1
@@ -17,7 +17,7 @@
|
|||||||
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
<strong>{{ .Params.subtitle | markdownify }}</strong>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ if .Params.author }}
|
{{ if .Params.author }}
|
||||||
<pre>by {{ .Params.author }}</pre>
|
<pre>{{ partial "author.html" . }}</pre>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if .Params.Cover }}
|
{{ if .Params.Cover }}
|
||||||
|
|||||||
Reference in new issue
Block a user