Search
Search
All sections and taxonomies.
Collections are automatically added based on Hugolify modules added (Sections) or (Taxonomies)
/config/_default/params.yaml
admin:
collections:
indexes:
enable: true
pages:
enable: true
# e.g. set to false to disable posts even if you load hugolify-theme-posts
posts:
enable: false
# …
/config/_default/params.yaml
admin:
collections:
pages:
create: false
/config/_default/params.yaml
admin:
collections:
pages:
fields:
- is_draft
- title_page
- description
- featured_image
- body
/config/_default/params.yaml
admin:
collections:
pages:
filter:
- field: isPage
value: true
/config/_default/params.yaml
admin:
collections:
pages:
path: "{{slug}}"
/config/_default/params.yaml
admin:
collections:
pages:
slug: "{{id}}"
/config/_default/params.yaml
admin:
collections:
pages:
sortable: "['title']"
/config/_default/params.yaml
admin:
collections:
pages:
summary: "{{title}}"
/config/_default/params.yaml
admin:
collections:
pages:
view_filters:
- label: 'Posts published in 2020'
field: date
pattern: '2020'
/config/_default/params.yaml
admin:
collections:
pages:
view_groups:
- label: 'Draft'
field: draft
Use params to create a collection
/config/_default/params.yaml
admin:
collections:
new_collection:
enable: true
fields:
- draft
- title_page
- description
- featured_image
- body
Or add a yml collection file
layouts/
└── partials/
└── admin/
└── collections/
└── types/