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