Skip to content

Collections reference

Every Jekyll collection _config.yml declares — its directory, permalink, and the layout and sidebar its front-matter defaults give it — generated from the config.

Source: _config.yml (collections_dir, collections:, defaults:). Regenerate with python3 scripts/generate_collections_reference.py; --check exits 1 when this file is stale. A collection whose directory does not exist is declared but has no content yet.

Collection Directory Exists Output Permalink Default layout Sidebar nav
pages pages/_pages/ no yes /:collection/:name/ default searchCats
posts pages/_posts/ yes yes /:collection/:year/:month/:day/:slug/ article dynamic
docs pages/_docs/ yes yes /:collection/:categories/:name/ default docs
hobbies pages/_hobbies/ yes yes /:collection/:categories/:name/ default hobbies
notebooks pages/_notebooks/ yes yes /:collection/:path/:name/ default searchCats
notes pages/_notes/ yes yes /:collection/:path/:name/ default dynamic
quickstart pages/_quickstart/ no yes /:collection/:categories/:name/ default searchCats
about pages/_about/ yes yes /:collection/:categories/:name/ default about