diff options
author | tdro <tdro@noreply.example.com> | 2022-05-17 05:45:50 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-05-17 05:45:50 -0400 |
commit | 40872211d2975ac35d703e040fa561c2f363d305 (patch) | |
tree | f559c134c53e43f2dc32662f93394475e344f28a /themes/default/layouts/partials/site-title.html | |
parent | 29c42bad59ceae6f76bef58c2e194535be17ce60 (diff) | |
download | canory-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.html | 2 |
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 -}} |