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