Skip to content
Permalink
Branch: master
Find file Copy path
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
29 lines (25 sloc) 1014 Bytes
backend:
name: github
repo: rycus86/blog.viktoradam.net
branch: master
# name: test-repo
publish_mode: editorial_workflow
media_folder: "static/images/uploads"
public_folder: "/images/uploads"
collections:
- name: "post"
label: "Post"
folder: "content/posts"
create: true
slug: "{{year}}-{{month}}-{{day}}-{{slug}}"
identifier_field: "slug"
fields:
- {label: "Layout", name: "layout", widget: "hidden", default: "posts"}
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Slug", name: "slug", widget: "string"}
- {label: "Tags", name: "tags", widget: "list"}
- {label: "Authors", name: "authors", widget: "list", default: ["viktor"]}
- {label: "SEO Title", name: "metaTitle", widget: "string", required: false}
- {label: "SEO Description", name: "metaDescription", widget: "string", required: false}
- {label: "Body", name: "body", widget: "markdown"}
You can’t perform that action at this time.