{{ .Content }}
Notes {{ len .Pages }}
{{- $groups := slice }} {{- range $cats }} {{- $subs := len ((where .Pages "Params.subcategory" "ne" nil).GroupByParam "subcategory") }} {{- $groups = $groups | append (dict "Key" .Key "Pages" .Pages "w" (add (len .Pages) (mul 2 $subs) 3)) }} {{- end }} {{- if $uncat }}{{ $groups = $groups | append (dict "Key" "Other" "Pages" $uncat "w" (add (len $uncat) 3)) }}{{ end }} {{- $colA := slice }}{{ $colB := slice }}{{ $wA := 0 }}{{ $wB := 0 }} {{- range sort $groups "w" "desc" }} {{- if le $wA $wB }}{{ $colA = $colA | append . }}{{ $wA = add $wA .w }} {{- else }}{{ $colB = $colB | append . }}{{ $wB = add $wB .w }}{{ end }} {{- end }}{{ range sort $colA "Key" }}{{ template "card" . }}{{ end }}
{{ range sort $colB "Key" }}{{ template "card" . }}{{ end }}
Bibliography {{ $bibCount }}
{{- range $bibTypes }}{{ if .pages }}{{ template "bibcard" (dict "label" .label "pages" .pages.ByTitle) }}{{ end }}{{ end }}
Nothing matches this filter.