This repository has been archived on 2023-01-31. You can view files and clone it, but cannot push or open issues or pull requests.
sophie-lewis-hugo/layouts/partials/essay-accordion.html

19 lines
514 B
HTML
Raw Normal View History

2022-12-27 07:21:49 +00:00
<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>
2022-12-27 07:19:29 +00:00
</div>
2022-12-27 07:21:49 +00:00
</div>
</div>
<div class="acc-panel">
<div class="acc-panel-content">
{{ range where .essays "year" .year }}
2022-12-27 07:37:01 +00:00
<p><a href={{ .url }}>{{ .title }}</a>, {{ .publication }}, {{ .date }}.</p>
2022-12-27 07:21:49 +00:00
{{ end }}
</div>
2022-12-27 07:19:29 +00:00
</div>