2022-11-11 05:48:02 +00:00
|
|
|
{{ if gt ( len .content ) 4 }}
|
2023-07-01 03:16:59 +00:00
|
|
|
<details id="{{ .section_title | anchorize }}" class="org-items row">
|
2022-11-11 05:48:02 +00:00
|
|
|
<summary>
|
|
|
|
<h2 class="subheading">{{ .section_title }} ({{ len .content }})</h2>
|
|
|
|
<div class="index">
|
|
|
|
{{ range first 4 .content }}
|
|
|
|
{{ partial "item-tile.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</summary>
|
|
|
|
<div class="index">
|
|
|
|
{{ range after 4 .content }}
|
|
|
|
{{ partial "item-tile.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</details>
|
|
|
|
{{ else }}
|
2023-07-01 03:16:59 +00:00
|
|
|
<div id="{{ .section_title | anchorize }}" class="org-items row">
|
2022-11-11 05:48:02 +00:00
|
|
|
<h2 class="subheading">{{ .section_title }} ({{ len .content }})</h2>
|
|
|
|
<div class="index">
|
|
|
|
{{ range first 4 .content }}
|
|
|
|
{{ partial "item-tile.html" . }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
{{ end }}
|