pages/layouts/academia/list.html

24 lines
615 B
HTML

{{ define "main" }}
{{ partial "scrolling-image-header" . }}
<section class="container-fluid list-main">
<div class="container px-5">
<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 }}