{{ $books := where .Pages "Section" "eq" "library" }} {{ if gt (len $books) 0 }}

{{ T "termPage.books" }}

{{ range $books }} {{ partial "components/book" (dict "ctx" .) }} {{ end }}
{{ end }}