You can generate an overview table listing all pages that have a page_id
in their frontmatter, grouped per per section. Pages also need to have search_exclude
not true in order to be listed. This can be useful for contributors to know what the page_id
is of a page since this page_id
is used to list related pages of a page or tagging national tools.
Use following snippet
{% include pageids-overview.html sidebar="main"%}
Which will render into:
Example pages
title | page_id | description | url |
---|---|---|---|
General page example | gp1 | This description is used when the page is listed | /general_page |
General page example 2 | gp2 | This description is used when the page is listed | /general_page_2 |
General page example 3 | gp3 | This page has page level resources | /general_page_3 |
General page example 4 | gp4 | This page has no more information | /general_page_4 |
General page example 5 | gp5 | This description is used when the page is listed | /general_page_5 |