mirror of
https://github.com/theNewDynamic/gohugo-theme-ananke.git
synced 2025-06-08 17:22:46 +00:00
add default author
This commit is contained in:
parent
8845854aa9
commit
57ef21d33e
@ -27,6 +27,7 @@ enableRobotsTXT = true
|
||||
filename = "sitemap.xml"
|
||||
|
||||
[params]
|
||||
author = ""
|
||||
favicon = ""
|
||||
site_logo = ""
|
||||
description = "The last theme you'll ever need. Maybe."
|
||||
|
@ -18,7 +18,7 @@
|
||||
<h1 class="f1 athelas mt3 mb1">
|
||||
{{- .Title -}}
|
||||
</h1>
|
||||
{{ with .Params.author }}
|
||||
{{ with .Params.author | default .Site.Params.author }}
|
||||
<p class="tracked">
|
||||
By <strong>
|
||||
{{ if reflect.IsSlice . }}
|
||||
|
Loading…
x
Reference in New Issue
Block a user