From 80484d00780b1b188470e8c7455e6067d241aa78 Mon Sep 17 00:00:00 2001 From: tdro Date: Tue, 26 Mar 2024 20:56:38 -0400 Subject: themes/default/layouts/partials/following-list: Following -> Feeds Add uniqueness --- themes/default/layouts/partials/following-list.html | 17 ++++++++--------- themes/default/layouts/partials/profile.html | 4 ++-- 2 files changed, 10 insertions(+), 11 deletions(-) (limited to 'themes/default/layouts') diff --git a/themes/default/layouts/partials/following-list.html b/themes/default/layouts/partials/following-list.html index 4cdb69c..c04d55c 100644 --- a/themes/default/layouts/partials/following-list.html +++ b/themes/default/layouts/partials/following-list.html @@ -1,6 +1,7 @@ +{{- $count := 0 -}} {{- $author := partial "function-authors-data.html" . -}} -{{- $following := print "public/" $author.user "/following.html" -}} -{{- $count := 0 -}} +{{- $feeds := print "public/" $author.user "/following.html" -}} +{{- $hash := print (truncate 4 "" (sha256 .RelPermalink)) (truncate 4 "" (sha256 .Section)) -}} {{- with $items := $author.feeds.rss -}} {{- $count = len $items -}} @@ -10,19 +11,17 @@
-

- Following ({{ $count }}) -

+

Web Feeds ({{ $count }})