{{- /* Collection List */ -}} {{- $params := .Scratch.Get "params" -}} {{- if .Params.collections | and $params.collectionList -}} {{- $collectionTerms := .GetTerms "collections" -}} {{- range $collectionTerms -}} {{- $pages := .Pages.ByDate -}} {{- $open := eq (index $collectionTerms 0) . -}} {{- $currentKey := 0 -}}
{{ dict "Class" "fa-solid fa-layer-group fa-fw" | partial "plugin/icon.html" }} {{ T "collections" }}・{{ .LinkTitle }} {{ $pages.Len }} {{- dict "Class" "details-icon fa-solid fa-angle-right fa-fw" | partial "plugin/icon.html" -}}
{{- end -}} {{- end -}}