Opt not to show abstracts for non-featured publications on list page

This commit is contained in:
Thomas A. Christensen II 2022-02-14 21:45:11 -06:00
parent a506ca969c
commit 9a7b1b568c
Signed by: millironx
GPG key ID: 139C07724802BC5D

View file

@ -2,6 +2,7 @@
<h2>Selected Presentations</h2> <h2>Selected Presentations</h2>
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }} {{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
{{ range $featuredpubs }} {{ range $featuredpubs }}
{{ .Scratch.Add "showAbstract" true }}
{{ partial "academia/list-single.html" . }} {{ partial "academia/list-single.html" . }}
{{ end }} {{ end }}
<hr /> <hr />