-
Notifications
You must be signed in to change notification settings - Fork 0
Docs: Archive Indices
Archive Indices define a grouping of pages which will be ordered chronologically and contain both chronological and categorical archives. Each Archive Index has the following settings & options:
The label must be unique, but is generally only used internally to identify multiple Archive Indices.
The page is any non-root page which will act as the index page listing child pages and linking to programmatically-generated chronological & categorical archive pages. This cannot be the root page due to limitations of Rails routing.
Each child page of the index page must have a datetime field which defines the chronological order of the pages since Comfortable Mexican Sofa doesn't have one built in. This must be defined as a datetime
tag in the pages' layout.
Archive Indices are automatically rendered using the index
view found in app/views/comfy/archive/
, but you have the option to force that page to just be rendered as the page normally would by checking the 'Force render page' checkbox. This allows for customization of the layout and navigation beyond just editing the index
view by editing the layout of the page.