{{ define "main" }}
{{ partial "components/post-page-header.html" . }} {{ partial "components/breadcrumbs.html" . }}
{{ $cards := where .Pages "Section" "eq" "cards" }} {{ if gt (len $cards) 0 }}

{{ T "termPage.cards" }}

{{ range $cards }}

{{ .Title }}

{{ .Summary }}

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

{{ T "termPage.books" }}

{{ range $books }} {{ end }}
{{ end }}
{{ partial "footer.html" . }} {{ end }}