Newer
Older
<div class="document-content">
{{- $category := site.GetPage (printf "/categories%s" .Params.category) -}}
{{ partial "toc/container.html"
(dict
"category" $category
"toc" "pages/toc.html"
"context" .
)
}}
{{ partial "hooks/after-page-hero.html" . }}
{{ partial "pages/chapo.html" (dict
"context" .
"block_wrapped" true
) }}
{{ if .Params.blocks }}
<section class="block block-pages block-pages--grid">
<div class="container">
<div class="block-content">
{{- partial "blocks/templates/pages/grid.html" (dict
"pages" .Params.children
"show_images" true
"show_descriptions" true
) }}