Omphaloskepsis-2/layouts/partials/util/get_content_by_section.html
2024-04-02 20:36:21 +01:00

11 lines
343 B
HTML

<!--
Given a top-level section title slug [blog|cv|portfolio], returns all
`Pages` within that top-level section.
@param sc The site content (`$`)
@param section_slug The slug of the section to use [blog|cv|portfolio]
@returns Pages|nil
-->
{{- where ( ( .sc.GetPage "cv" ).Sections ) "Title" .section_title -}}