summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--content/es/departamentos/educacion-continua/cursos/curso-excel.md1
-rw-r--r--content/es/departamentos/educacion-continua/cursos/curso-word.md1
-rw-r--r--layouts/shortcodes/count-cursos.html3
3 files changed, 4 insertions, 1 deletions
diff --git a/content/es/departamentos/educacion-continua/cursos/curso-excel.md b/content/es/departamentos/educacion-continua/cursos/curso-excel.md
index e718aae..d966f1f 100644
--- a/content/es/departamentos/educacion-continua/cursos/curso-excel.md
+++ b/content/es/departamentos/educacion-continua/cursos/curso-excel.md
@@ -1,3 +1,4 @@
+++
title = 'Curso Excel'
+tags = ['course']
+++
diff --git a/content/es/departamentos/educacion-continua/cursos/curso-word.md b/content/es/departamentos/educacion-continua/cursos/curso-word.md
index a4c0d05..6b55a59 100644
--- a/content/es/departamentos/educacion-continua/cursos/curso-word.md
+++ b/content/es/departamentos/educacion-continua/cursos/curso-word.md
@@ -1,3 +1,4 @@
+++
title = 'Curso Word'
+tags = ['course']
+++
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 }}