aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/_default/list.html
diff options
context:
space:
mode:
authortdro <tdro@noreply.example.com>2022-06-06 18:29:36 -0400
committertdro <tdro@noreply.example.com>2022-06-06 18:29:36 -0400
commitaa865a9aa0f94e9e550bc761f18268e206bd1c48 (patch)
tree9a8041f80522c6b671d08275e12121610078df18 /themes/default/layouts/_default/list.html
parent60ca4c3e0709ec9ffb79e726cfb41b017be06602 (diff)
downloadcanory-aa865a9aa0f94e9e550bc761f18268e206bd1c48.tar.gz
canory-aa865a9aa0f94e9e550bc761f18268e206bd1c48.tar.bz2
canory-aa865a9aa0f94e9e550bc761f18268e206bd1c48.zip
themes/default/layouts/partials/navigator-right: Speed up render layout calculation
Move easier to render author list to the top and help speed up three column flex layout calculation.
Diffstat (limited to 'themes/default/layouts/_default/list.html')
-rw-r--r--themes/default/layouts/_default/list.html7
1 files changed, 4 insertions, 3 deletions
diff --git a/themes/default/layouts/_default/list.html b/themes/default/layouts/_default/list.html
index 6cc82b2..5cc563b 100644
--- a/themes/default/layouts/_default/list.html
+++ b/themes/default/layouts/_default/list.html
@@ -23,13 +23,14 @@
{{ end }}
{{ define "right" }}
+ {{- partial "author-list.html" . -}}
+
{{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.picturegallery) }}
{{- partial "gallery-images.html" . -}}
{{ end }}
- {{- partial "author-list.html" . -}}
-
{{ range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) }}
- {{- partial "web-ring.html" . -}}
+ {{- partial "web-ring.html" . -}}
{{ end }}
+
{{ end }}