{%- comment -%} Parameters: * blocks: Key in `site.data` corresponding to a `_data/*.yml` file. Block data: * type: [Default: "group"] What type of block to add to the sidebar. - "group" to query a list of pages from a page group. - "list" to specify your own custom list. - "archive" to query a list of chronological pages based on their layout. - "tags" to query a list of alphabetical pages based on their layout. * title: [Default: group_page.title or ""] For a "group" block this defaults to the title of the group index page. For a custom "list" block, this is required. * url: [Default: group_page.url or null] For a "group" block this defaults to the URL of the group index page. If null, the block title will not be linked. * group: When using a "group" block, the ID of the group to query for. * list: When using a "list" block, an array of objects with "title" and "url" properties. * expand: [Default: active] Whether a block should be expanded. - true: Always expanded. - false: Never expanded. - active: Expand when the current page is in the list. {%- endcomment -%}