summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlejandro <[email protected]>2024-08-04 18:50:14 -0600
committerAlejandro <[email protected]>2024-08-04 18:50:14 -0600
commitca33ca0ffd37e4d5a53456089739938ca9dbb718 (patch)
tree91bdacaa65eac1fd145a200cf873733d704eec8e
parentead1365b46bb942411a9bf5526027b2f9f71498b (diff)
added: shortcode for master degree programs
-rw-r--r--layouts/shortcodes/list-master-degrees.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/list-master-degrees.html b/layouts/shortcodes/list-master-degrees.html
new file mode 100644
index 0000000..a86dce5
--- /dev/null
+++ b/layouts/shortcodes/list-master-degrees.html
@@ -0,0 +1,9 @@
+<ul class="majors">
+{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "master-degree-program") }}
+{{ range $p }}
+<li><h3>{{ .Title }}</h3>
+{{ .Summary }}
+<a href="{{ .RelPermalink }}" id="read-more">Leer más</a>
+</li>
+{{ end }}
+</ul>