Collections

All sections and taxonomies.

Collections are automatically added based on Hugolify modules added (Sections) or (Taxonomies)

Enable or disable collections

/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
    # …

Override fields avalaible for a collection

/config/_default/params.yaml

admin:
  collections:
    pages:
      fields:
        - is_draft
        - title_page
        - description
        - featured_image
        - body
        # …

Create or override a collection

Add a yml collection file

layouts
  partials
    admin
      collections
        types
See examples in repository