backend: name:git-gateway branch:master# Branch to update (optional; defaults to master)
# This line should *not* be indented publish_mode:editorial_workflow
# This line should *not* be indented media_folder:“source/images/uploads”# Media files will be stored in the repo under images/uploads public_folder:“/images/uploads”# The src attribute for uploaded media will begin with /images/uploads
collections: -name:“posts”# Used in routes, e.g., /admin/collections/blog label:“Post”# Used in the UI folder:“source/_posts”# The path to the folder where the documents are stored create:true# Allow users to create new documents in this collection slug:“{{slug}}”# Filename template, e.g., YYYY-MM-DD-title.md fields:# The fields for each document, usually in front matter -{label:“Layout”,name:“layout”,widget:“hidden”,default:“blog”} -{label:“Title”,name:“title”,widget:“string”} -{label:“Author”,name:“author”,widget:“string”} -{label:“PublishDate”,name:“date”,widget:“datetime”} -{label:“UpdatedDate”,name:“updated”,widget:“datetime”} -{label:“FeaturedImage”,name:“thumbnail”,widget:“string”} -{label:“urlname”,name:“urlname”,widget:“string”} -{label:“Tags”,name:“tags”,widget:“list”} -{label:“Categories”,name:“categories”,widget:“list”} -{label:“TOC”,name:“toc”,widget:“boolean”,default:true} -{label:“Body”,name:“body”,widget:“markdown”}