aboutsummaryrefslogtreecommitdiff
path: root/themes/default/layouts/partials/count-media.html
diff options
context:
space:
mode:
Diffstat (limited to 'themes/default/layouts/partials/count-media.html')
-rw-r--r--themes/default/layouts/partials/count-media.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/themes/default/layouts/partials/count-media.html b/themes/default/layouts/partials/count-media.html
index 8a409e7..1d68e0a 100644
--- a/themes/default/layouts/partials/count-media.html
+++ b/themes/default/layouts/partials/count-media.html
@@ -1,6 +1,6 @@
-{{- $author := partial "function-authors-data.html" . -}}
+{{- $author := .Section -}}
{{- $notFeeds := where .Site.RegularPages "Params.feed" "eq" nil -}}
-{{- $authors := where .Site.RegularPages "Section" $author.user -}}
+{{- $authors := where .Site.RegularPages "Section" $author -}}
{{- $filteredPages := $authors | intersect $notFeeds -}}
{{- $count := 0 -}}