pages/layouts/academia/list.html

21 lines
659 B
HTML
Raw Normal View History

{{ define "main" }}
{{ partial "scrolling-image-header" . }}
<section class="container-fluid list-main">
<div class="container px-5">
2023-02-25 05:13:45 +00:00
<h2>Selected Presentations</h2>
{{ $featuredpubs := where .Pages ".Params.featured" "==" true }}
{{ range $featuredpubs }}
{{ .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 }}
</div>
</section>
{{ end }}