summaryrefslogtreecommitdiff
path: root/layouts
diff options
context:
space:
mode:
authorAlejandro <alex.mac.fon@gmail.com>2024-08-03 17:24:59 -0600
committerAlejandro <alex.mac.fon@gmail.com>2024-08-03 17:24:59 -0600
commite7dcedaa8c8811850d0e7d032f95f595a6398a48 (patch)
tree38b985c1ef6ac9704de67843cb6a239adcfc69d3 /layouts
parent54585ea160346ccadfcb3d80c14c5e076cb7eda8 (diff)
modified: majors show now with tags
Diffstat (limited to 'layouts')
-rw-r--r--layouts/shortcodes/list-majors.html3
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>