aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/site-title.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-05-17 05:45:50 -0400
committertdro <tdro@noreply.example.com>2022-05-17 05:45:50 -0400
commit40872211d2975ac35d703e040fa561c2f363d305 (patch)
treef559c134c53e43f2dc32662f93394475e344f28a /themes/default/layouts/partials/site-title.html
parent29c42bad59ceae6f76bef58c2e194535be17ce60 (diff)
downloadcanory-40872211d2975ac35d703e040fa561c2f363d305.tar.gz
canory-40872211d2975ac35d703e040fa561c2f363d305.tar.bz2
canory-40872211d2975ac35d703e040fa561c2f363d305.zip
config: Control default title
For pages where the titles are auto generated, choose default author's title as title.
Diffstat (limited to 'themes/default/layouts/partials/site-title.html')
-rw-r--r--themes/default/layouts/partials/site-title.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/site-title.html b/themes/default/layouts/partials/site-title.html
index ed09ec3..99f027b 100644
--- a/themes/default/layouts/partials/site-title.html
+++ b/themes/default/layouts/partials/site-title.html
@@ -1,4 +1,4 @@
-{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.user) | default "default") }}
+{{ $author := index .Site.Data.authors ((or .Params.author .Site.Author.default.title) | default "default") }}
{{- if not (eq .Title $.Site.Title) -}}
{{- with or .Title .Summary -}}