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 --- .../default/layouts/partials/following-list.html | 80 +++------------------- 1 file changed, 8 insertions(+), 72 deletions(-) (limited to 'themes/default/layouts/partials/following-list.html') diff --git a/themes/default/layouts/partials/following-list.html b/themes/default/layouts/partials/following-list.html index e99a86b..165d699 100644 --- a/themes/default/layouts/partials/following-list.html +++ b/themes/default/layouts/partials/following-list.html @@ -1,79 +1,15 @@ -{{- $feeds := slice -}} -{{- $paths := slice -}} {{- $author := partial "function-authors-data.html" . -}} - -{{- range $author.feeds.rss -}} - {{- $data := split . " " -}} - {{- $url := delimit (first 1 $data) "" -}} - {{- $feeds = $feeds | append (string $url) -}} -{{- end -}} +{{- $following := print "public/" $author.user "/following.html" -}}

Following

-- cgit v1.2.3