From 7baa68499d65b2ca6e04731b8cef07f171660115 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Sat, 3 Aug 2024 22:45:24 -0600 Subject: added: tag course for better cross language listing --- layouts/shortcodes/count-cursos.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'layouts') 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 }} -- cgit v1.2.3