add default author (#408)
This commit is contained in:
parent
e3f7fbe39d
commit
597a631988
|
@ -27,6 +27,7 @@ enableRobotsTXT = true
|
||||||
filename = "sitemap.xml"
|
filename = "sitemap.xml"
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
author = ""
|
||||||
favicon = ""
|
favicon = ""
|
||||||
site_logo = ""
|
site_logo = ""
|
||||||
description = "The last theme you'll ever need. Maybe."
|
description = "The last theme you'll ever need. Maybe."
|
||||||
|
|
|
@ -18,7 +18,7 @@
|
||||||
<h1 class="f1 athelas mt3 mb1">
|
<h1 class="f1 athelas mt3 mb1">
|
||||||
{{- .Title -}}
|
{{- .Title -}}
|
||||||
</h1>
|
</h1>
|
||||||
{{ with .Params.author }}
|
{{ with .Params.author | default .Site.Params.author }}
|
||||||
<p class="tracked">
|
<p class="tracked">
|
||||||
By <strong>
|
By <strong>
|
||||||
{{ if reflect.IsSlice . }}
|
{{ if reflect.IsSlice . }}
|
||||||
|
|
Loading…
Reference in a new issue