There is a string: {{ partial "menus/section.html" (dict "page" . "pages" site.Sections) }}
I trying to get there not all pages from site, but from specific folder (“docs”). How to do it? Trying to use something like site.Section "docs" instead of site.Sections, but it is does not works.
Thank you
And if I need to remove a specific page from the menu?
I am trying something like {{- if not .Params.exclude}}, but then child elements are also not included in the list