summaryrefslogtreecommitdiff
path: root/layouts/shortcodes
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-07-25 15:43:49 -0600
committerAlejandro <[email protected]>2024-07-25 15:43:49 -0600
commit1d0c4542e8a3e7fd43c10cb7f61298052258a832 (patch)
tree08737d2988f9dbb9958a6b34b499c8a4c80f5508 /layouts/shortcodes
parent394fec0d074684bdbdb99d07ef614aa5e6c0a5a7 (diff)
added: shortcode for counting the programs in the main page
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r--layouts/shortcodes/count-doctorados.html1
-rw-r--r--layouts/shortcodes/count-licenciaturas.html1
-rw-r--r--layouts/shortcodes/count-maestrias.html1
3 files changed, 3 insertions, 0 deletions
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") }}