summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-03 22:26:26 -0600
committerAlejandro <[email protected]>2024-08-03 22:26:26 -0600
commitcfcd321faf52f5cc5d776363f5d03c8b59fea0b6 (patch)
tree05bf059d647d38ac706b47771361966d5235b2ef /layouts
parente75ba9fd224225651638fc54da8b42974554b773 (diff)
modified: count with tags
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/count-doctorados.html3
1 files changed, 2 insertions, 1 deletions
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 }}