pages/layouts/academia/list.html

15 lines
494 B
HTML
Raw Normal View History

{{ define "main" }}
<h2>Selected Presentations</h2>
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
{{ range $featuredpubs }}
2022-02-15 04:10:36 +00:00
{{ .Scratch.Set "showAbstract" true }}
{{ partial "academia/list-single.html" . }}
{{ end }}
<hr />
<h2>Other Presentations</h2>
{{ $nonfeaturedpubs := where .Pages ".Params.featured" "==" false }}
{{ range $nonfeaturedpubs }}
{{ partial "academia/list-single.html" . }}
{{ end }}
{{ end }}