summaryrefslogtreecommitdiff
path: root/layouts/shortcodes/list-majors.html
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-07-28 20:21:01 -0600
committerAlejandro <[email protected]>2024-07-28 20:21:01 -0600
commitbc6b8545cbdb24b437891a8951777e0c349a7087 (patch)
treea6ba17d9fd226199cc802c42a66540acbb994b3e /layouts/shortcodes/list-majors.html
parent4b0f102394530673f5fe6d6a2128dd2ea84ebc12 (diff)
modified: added class to ul, removed class to li, added RelPermalink
Diffstat (limited to 'layouts/shortcodes/list-majors.html')
-rw-r--r--layouts/shortcodes/list-majors.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/layouts/shortcodes/list-majors.html b/layouts/shortcodes/list-majors.html
index 751c861..7bb2669 100644
--- a/layouts/shortcodes/list-majors.html
+++ b/layouts/shortcodes/list-majors.html
@@ -1,7 +1,7 @@
-<ul>
+<ul class="programs">
{{ range (where .Site.RegularPages "Section" "==" "licenciatura") }}
-<li class="major">{{ .Title }} <br>
+<a href="{{ .RelPermalink }}"><li>{{ .Title }} <br>
{{ .Summary }}
-</li>
+</li></a>
{{ end }}
</ul>