diff options
Diffstat (limited to 'layouts')
-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> |