sophie-lewis-hugo/layouts/partials/collective-accordion.html

20 lines
544 B
HTML

<div class="level accordion">
<div class="level-left">
<div class="level-item">{{ .year }}</div>
</div>
<div class="level-right">
<div class="level-item">
<span class="icon">
<i class="fa-sharp fa-solid fa-circle-arrow-down"></i>
</span>
</div>
</div>
</div>
<div class="acc-panel">
<div class="acc-panel-content">
{{ range where .collective "year" .year }}
<p><a href={{ .url }}>{{ .title}}</a>, {{ .blurb }} <a
href={{ .puburl}}>{{ .publication }}</a>.</p>
{{ end }}
</div>
</div>