diff options
author | tdro <tdro@noreply.example.com> | 2022-06-17 16:31:53 -0400 |
---|---|---|
committer | tdro <tdro@noreply.example.com> | 2022-06-17 16:31:53 -0400 |
commit | a7e31ec150c409c3c4a9bd8a6503dda852a2d103 (patch) | |
tree | 718c023e875c08fe9b0b4f0814d8538b09db5d96 /themes/default/layouts/partials/head.html | |
parent | 494ee6f4b0d708c20ed66d946b727159cf90f1c4 (diff) | |
download | canory-a7e31ec150c409c3c4a9bd8a6503dda852a2d103.tar.gz canory-a7e31ec150c409c3c4a9bd8a6503dda852a2d103.tar.bz2 canory-a7e31ec150c409c3c4a9bd8a6503dda852a2d103.zip |
config: Generate authors from configuration
Diffstat (limited to 'themes/default/layouts/partials/head.html')
-rw-r--r-- | themes/default/layouts/partials/head.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/themes/default/layouts/partials/head.html b/themes/default/layouts/partials/head.html index 8eb9435..509b177 100644 --- a/themes/default/layouts/partials/head.html +++ b/themes/default/layouts/partials/head.html @@ -1,6 +1,7 @@ +{{- partial "generate-authors" . -}} {{- $data := (dict - "Author" (index .Site.Data.authors ((or .Params.author .Site.Author.default.home) | default "default")) + "Author" (index .Site.Data ((or .Params.author .Site.Author.default.home) | default "default")) ) -}} |