From cfcd321faf52f5cc5d776363f5d03c8b59fea0b6 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sat, 3 Aug 2024 22:26:26 -0600 Subject: modified: count with tags --- layouts/shortcodes/count-doctorados.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layouts/shortcodes') diff --git a/layouts/shortcodes/count-doctorados.html b/layouts/shortcodes/count-doctorados.html index d2d1794..33192bb 100644 --- a/layouts/shortcodes/count-doctorados.html +++ b/layouts/shortcodes/count-doctorados.html @@ -1 +1,2 @@ -{{ len (where .Site.RegularPages "Section" "==" "doctorado") }} +{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "phd") }} +{{ len $p }} -- cgit v1.2.3