diff options
author | Alejandro <alex.mac.fon@gmail.com> | 2024-08-04 18:50:14 -0600 |
---|---|---|
committer | Alejandro <alex.mac.fon@gmail.com> | 2024-08-04 18:50:14 -0600 |
commit | ca33ca0ffd37e4d5a53456089739938ca9dbb718 (patch) | |
tree | 91bdacaa65eac1fd145a200cf873733d704eec8e | |
parent | ead1365b46bb942411a9bf5526027b2f9f71498b (diff) |
added: shortcode for master degree programs
-rw-r--r-- | layouts/shortcodes/list-master-degrees.html | 9 |
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> |