summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes')
-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 }}