From 1d0c4542e8a3e7fd43c10cb7f61298052258a832 Mon Sep 17 00:00:00 2001 From: Alejandro Date: Thu, 25 Jul 2024 15:43:49 -0600 Subject: added: shortcode for counting the programs in the main page --- layouts/shortcodes/count-doctorados.html | 1 + layouts/shortcodes/count-licenciaturas.html | 1 + layouts/shortcodes/count-maestrias.html | 1 + 3 files changed, 3 insertions(+) create mode 100644 layouts/shortcodes/count-doctorados.html create mode 100644 layouts/shortcodes/count-licenciaturas.html create mode 100644 layouts/shortcodes/count-maestrias.html (limited to 'layouts') diff --git a/layouts/shortcodes/count-doctorados.html b/layouts/shortcodes/count-doctorados.html new file mode 100644 index 0000000..d2d1794 --- /dev/null +++ b/layouts/shortcodes/count-doctorados.html @@ -0,0 +1 @@ +{{ len (where .Site.RegularPages "Section" "==" "doctorado") }} diff --git a/layouts/shortcodes/count-licenciaturas.html b/layouts/shortcodes/count-licenciaturas.html new file mode 100644 index 0000000..25ac5f3 --- /dev/null +++ b/layouts/shortcodes/count-licenciaturas.html @@ -0,0 +1 @@ +{{ len (where .Site.RegularPages "Section" "==" "licenciatura") }} diff --git a/layouts/shortcodes/count-maestrias.html b/layouts/shortcodes/count-maestrias.html new file mode 100644 index 0000000..94557b6 --- /dev/null +++ b/layouts/shortcodes/count-maestrias.html @@ -0,0 +1 @@ +{{ len (where .Site.RegularPages "Section" "==" "maestria") }} -- cgit v1.2.3