From 7f5c73bc0384f1a0ffec2701d4183e2208007b40 Mon Sep 17 00:00:00 2001 From: tdro Date: Wed, 21 Dec 2022 00:20:05 -0500 Subject: themes/default/layouts/partials: Prevent feed fetches from multiplying By limiting to section. Add hugo option to version shortcode --- themes/default/layouts/partials/navigator-right.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'themes/default/layouts/partials/navigator-right.html') diff --git a/themes/default/layouts/partials/navigator-right.html b/themes/default/layouts/partials/navigator-right.html index 01506eb..573cb8f 100644 --- a/themes/default/layouts/partials/navigator-right.html +++ b/themes/default/layouts/partials/navigator-right.html @@ -5,7 +5,7 @@ (eq .Page.Kind "section") -}} - {{- partial "gallery-images.html" . -}} + {{- partial "gallery.html" . -}} {{- partial "following-list.html" . -}} {{- end -}} @@ -15,12 +15,12 @@ (eq .Page.Kind "section") -}} - {{- partial "web-ring.html" . -}} + {{- partial "webring.html" . -}} {{- else -}} {{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) -}} - {{- partial "web-ring.html" . -}} + {{- partial "webring.html" . -}} {{- end -}} {{- end -}} -- cgit v1.2.3