summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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>