aboutsummaryrefslogtreecommitdiff
path: root/themes
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2023-02-22 21:47:35 -0500
committertdro <tdro@noreply.example.com>2023-02-22 21:47:35 -0500
commit655df220f4c53b41df15f3ea7076af3d94a9c661 (patch)
treecf993308fc3d3367ab1dce240c4177ab739013a3 /themes
parent0868404c5f7d63a651d47cff237ed8c12fc1f3ba (diff)
downloadcanory-655df220f4c53b41df15f3ea7076af3d94a9c661.tar.gz
canory-655df220f4c53b41df15f3ea7076af3d94a9c661.tar.bz2
canory-655df220f4c53b41df15f3ea7076af3d94a9c661.zip
themes/default/layouts/_default/home.authors: Generate authors once
Remove redundant calls
Diffstat (limited to 'themes')
-rw-r--r--themes/default/layouts/_default/home.authors.html2
-rw-r--r--themes/default/layouts/partials/base-discovery.html2
-rw-r--r--themes/default/layouts/partials/base-head.html2
3 files changed, 2 insertions, 4 deletions
diff --git a/themes/default/layouts/_default/home.authors.html b/themes/default/layouts/_default/home.authors.html
index 8e63d51..c4051bb 100644
--- a/themes/default/layouts/_default/home.authors.html
+++ b/themes/default/layouts/_default/home.authors.html
@@ -8,6 +8,8 @@
{{ define "middle" }}
+ {{- partial "generate-authors" . -}}
+
{{ partial "navigator-middle.html"
(dict
"Title" "Authors"
diff --git a/themes/default/layouts/partials/base-discovery.html b/themes/default/layouts/partials/base-discovery.html
index 0cd956a..23d3a09 100644
--- a/themes/default/layouts/partials/base-discovery.html
+++ b/themes/default/layouts/partials/base-discovery.html
@@ -1,5 +1,3 @@
-{{- partial "generate-authors" . -}}
-
{{-
$authorData := (dict
"Context" .
diff --git a/themes/default/layouts/partials/base-head.html b/themes/default/layouts/partials/base-head.html
index 3d220ba..2757f29 100644
--- a/themes/default/layouts/partials/base-head.html
+++ b/themes/default/layouts/partials/base-head.html
@@ -1,5 +1,3 @@
-{{- partial "generate-authors" . -}}
-
{{-
$authorData := (dict
"Context" .