summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorAlejandro <alex.mac.fon@gmail.com>2024-08-03 22:53:54 -0600
committerAlejandro <alex.mac.fon@gmail.com>2024-08-03 22:53:54 -0600
commit10c13b5efb20ca73fc602e0c693a531585d224d7 (patch)
treeab3f4e8991b72d8191679bce361fdae5f9c9762c /layouts/shortcodes
parentd00cd7591980079eff3b2108944146483cf6ad99 (diff)
modified: added master-degree-program tag
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 }}