summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-07-25 20:04:13 -0600
committerAlejandro <[email protected]>2024-07-25 20:04:13 -0600
commit6bef55f24d09217a86f46dc322b2a14f911fadc2 (patch)
tree5cd37a1086c3f273a732f6adba47f5448904ffb2
parent75a30e3b61d295384d2f3189f0ebd3e082a28e52 (diff)
added: shortcode for listing mayors
-rw-r--r--layouts/shortcodes/list-majors.html7
1 files changed, 7 insertions, 0 deletions
diff --git a/layouts/shortcodes/list-majors.html b/layouts/shortcodes/list-majors.html
new file mode 100644
index 0000000..751c861
--- /dev/null
+++ b/layouts/shortcodes/list-majors.html
@@ -0,0 +1,7 @@
+<ul>
+{{ range (where .Site.RegularPages "Section" "==" "licenciatura") }}
+<li class="major">{{ .Title }} <br>
+{{ .Summary }}
+</li>
+{{ end }}
+</ul>