From e1f3254c256edf715f75b778513d14f18e865e67 Mon Sep 17 00:00:00 2001 From: tdro Date: Mon, 6 Nov 2023 20:15:38 -0500 Subject: themes/default/layouts: Remove author dependency --- themes/default/layouts/_default/index.html | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'themes/default/layouts/_default') diff --git a/themes/default/layouts/_default/index.html b/themes/default/layouts/_default/index.html index f1ab369..2f97bbd 100644 --- a/themes/default/layouts/_default/index.html +++ b/themes/default/layouts/_default/index.html @@ -30,13 +30,14 @@ {{- end -}} {{- define "right" -}} + {{- $author := "Section" -}} {{- partial "author-list.html" . -}} - {{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.gallery) -}} + {{- range first 1 (where .Site.Pages $author .Site.Author.default.gallery) -}} {{- partial "gallery.html" . -}} {{- end -}} - {{- range first 1 (where .Site.Pages "Params.Author" .Site.Author.default.webring) -}} + {{- range first 1 (where .Site.Pages $author .Site.Author.default.webring) -}} {{- partial "following-list.html" . -}} {{- partial "webring.html" . -}} {{- end -}} -- cgit v1.2.3