diff options
author | Alejandro <[email protected]> | 2024-08-03 17:24:59 -0600 |
---|---|---|
committer | Alejandro <[email protected]> | 2024-08-03 17:24:59 -0600 |
commit | e7dcedaa8c8811850d0e7d032f95f595a6398a48 (patch) | |
tree | 38b985c1ef6ac9704de67843cb6a239adcfc69d3 /layouts/shortcodes/list-majors.html | |
parent | 54585ea160346ccadfcb3d80c14c5e076cb7eda8 (diff) |
modified: majors show now with tags
Diffstat (limited to 'layouts/shortcodes/list-majors.html')
-rw-r--r-- | layouts/shortcodes/list-majors.html | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/layouts/shortcodes/list-majors.html b/layouts/shortcodes/list-majors.html index 9738280..bf6b1b5 100644 --- a/layouts/shortcodes/list-majors.html +++ b/layouts/shortcodes/list-majors.html @@ -1,5 +1,6 @@ <ul class="majors"> -{{ range (where .Site.RegularPages "Section" "==" "licenciatura") }} +{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "major") }} +{{ range $p }} <li><h3>{{ .Title }}</h3> {{ .Summary }} <a href="{{ .RelPermalink }}" id="read-more">Leer más</a> |