{{ $books := slice}} {{ range where .Site.Pages "Section" "books" }} {{ with .File }} {{ $subDirsNumer := .File.Path | strings.Count "/" }} {{ if eq $subDirsNumer 2 }} {{ $books = $books | append (dict "page" . "path" .File.Path) }} {{ end }} {{ end }} {{ end }} {{ partial "global-search.html" . }}
{{ i18n "list-desc-books" }}
{{ .page.Params.description }}