Pagelist
The ::pagelist element allows you to create a dynamic page directory that displays a list of pages on a website. Various options can be used to filter the displayed pages, choose the format of the list, and determine the order.
Parameter
- format
- ol: Creates an ordered list
- ul: Creates an unordered list
- glossary: Creates a grouped list
- #
: Uses the snippet to generate the list. The snippet receives pages, which contains all pages, and can then process them.
- source
- href: The page link
- name: The page name
- keyword: The page keywords
- orderBy
- name: Sorts by the page name
- index: Sorts by the page index
- href: Sorts by the URL
- asc: Ascending
- desc: Descending
Examples
Glossary
A Glossary of all Elements
D
Q
V
Y
Unordered List by href
Ordered List with IDE in the namen and additionally with SQL in the URL
Custom snippet
The snippet is located in the snippets
folger with the name list.md.hbs
- Vercel: /hosting/vercel
- Video: /elements/video