config.yml 567 B

123456789101112131415161718
  1. backend:
  2. name: git-gateway
  3. branch: master # Branch to update (optional; defaults to master)
  4. media_folder: static/images
  5. public_folder: /images
  6. collections:
  7. - name: 'posts'
  8. label: 'Posts'
  9. folder: 'content/posts'
  10. create: true
  11. slug: '{{slug}}'
  12. editor:
  13. preview: false
  14. fields:
  15. - { label: 'Title', name: 'title', widget: 'string' }
  16. - { label: 'Publish Date', name: 'date', widget: 'datetime' }
  17. - { label: 'Description', name: 'description', widget: 'string' }
  18. - { label: 'Body', name: 'body', widget: 'markdown' }