summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/count-maestrias.html3
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/count-maestrias.html b/layouts/shortcodes/count-maestrias.html
index 94557b6..1c6ef88 100644
--- a/layouts/shortcodes/count-maestrias.html
+++ b/layouts/shortcodes/count-maestrias.html
@@ -1 +1,2 @@
-{{ len (where .Site.RegularPages "Section" "==" "maestria") }}
+{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "master-degree-program") }}
+{{ len $p }}