diff options
author | Alejandro <alex.mac.fon@gmail.com> | 2024-08-04 18:56:36 -0600 |
---|---|---|
committer | Alejandro <alex.mac.fon@gmail.com> | 2024-08-04 18:56:36 -0600 |
commit | 8a200dccc2fbf286e6e37e1797b97555e903a5bf (patch) | |
tree | affe52f32b51d27bc25fef3f72ea3024a3d8f99e /layouts/shortcodes | |
parent | a95e32fe54f2cfa8a274748db9b21b06cb3378fe (diff) |
added: shortcode for phd programs
Diffstat (limited to 'layouts/shortcodes')
-rw-r--r-- | layouts/shortcodes/list-phds.html | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/layouts/shortcodes/list-phds.html b/layouts/shortcodes/list-phds.html new file mode 100644 index 0000000..426e313 --- /dev/null +++ b/layouts/shortcodes/list-phds.html @@ -0,0 +1,9 @@ +<ul class="majors"> +{{ $p := where site.RegularPages "Params.tags" "intersect" (slice "phd-program") }} +{{ range $p }} +<li><h3>{{ .Title }}</h3> +{{ .Summary }} +<a href="{{ .RelPermalink }}" id="read-more">Leer más</a> +</li> +{{ end }} +</ul> |