summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-03 22:45:24 -0600
committerAlejandro <[email protected]>2024-08-03 22:45:24 -0600
commit7baa68499d65b2ca6e04731b8cef07f171660115 (patch)
tree77b718ac03c761ed8481b2684f0fdd40b9d5afc9 /layouts
parent7e88d88710cfcc7fda0ae2b8f9f67d0c7e6f92fb (diff)
added: tag course for better cross language listing
Diffstat (limited to 'layouts')
-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 }}