summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>