aboutsummaryrefslogtreecommitdiffstats
path: root/site/static/admin/config.yml
diff options
context:
space:
mode:
authorMathias Biilmann Christensen <info@mathias-biilmann.net>2017-02-21 00:50:28 -0800
committerMathias Biilmann Christensen <info@mathias-biilmann.net>2017-02-21 00:50:28 -0800
commit988a3cd185b9e0268ad220b6f506acf446a35447 (patch)
treeda28425a8584653d0f0bae1556f9f64433dcb203 /site/static/admin/config.yml
parentabac30330edd5b7ea718abc230c9d685dfe30c83 (diff)
Make product page use content from frontmatter
Diffstat (limited to 'site/static/admin/config.yml')
-rw-r--r--site/static/admin/config.yml21
1 files changed, 19 insertions, 2 deletions
diff --git a/site/static/admin/config.yml b/site/static/admin/config.yml
index 4f6fe4a..374bf44 100644
--- a/site/static/admin/config.yml
+++ b/site/static/admin/config.yml
@@ -1,6 +1,6 @@
backend:
name: github
- repo: darindimitroff/netlify-cms-template # Path to your Github repository
+ repo: netlify-templates/kaldi-hugo-cms-template # Path to your Github repository
branch: master # Branch to update (master by default)
media_folder: "dist/img" # Folder where user uploaded files should go
@@ -9,9 +9,26 @@ public_folder: "dist" # CMS now knows 'source' is the public folder and will str
collections: # A list of collections the CMS should be able to edit
- name: "post" # Used in routes, ie.: /admin/collections/:slug/edit
label: "Post" # Used in the UI, ie.: "New Post"
- folder: "/site/content/post" # The path to the folder where the documents are stored
+ folder: "site/content/post" # The path to the folder where the documents are stored
create: true # Allow users to create new documents in this collection
fields: # The fields each document in this collection have
- {label: "Title", name: "title", widget: "string"}
- {label: "Publish Date", name: "date", widget: "datetime"}
- {label: "Body", name: "body", widget: "markdown"}
+ - name: "pages"
+ label: "Pages"
+ files:
+ file: "site/content/products.md"
+ fields:
+ - {label: Title, name: title, widget: string}
+ - {label: Type, name: type, widget: string}
+ - {label: Image, name: image, widget: image}
+ - {label: Page, name: page, widget: string}
+ - {label: Heading, name: heading, widget: string}
+ - {label: Description, name: description, widget: string}
+ - {label: Intro, name: intro, widget: object, fields: [{label: Heading, name: heading, widget: string}, {label: Description, name: description, widget: text}, {label: Blurbs, name: blurbs, widget: list, fields: [{label: Image, name: image, widget: image}, {label: Text, name: text, widget: text}]}]}
+ - {label: Main, name: main, widget: object, fields: [{label: Heading, name: heading, widget: string}, {label: Description, name: description, widget: text}, {label: Image1, name: image1, widget: object, fields: [{label: Image, name: image, widget: image}, {label: Alt, name: alt, widget: string}]}, {label: Image2, name: image2, widget: object, fields: [{label: Image, name: image, widget: image}, {label: Alt, name: alt, widget: string}]}, {label: Image3, name: image3, widget: object, fields: [{label: Image, name: image, widget: image}, {label: Alt, name: alt, widget: string}]}]}
+ - {label: Testimonials, name: testimonials, widget: list, fields: [{label: Quote, name: quote, widget: string}, {label: Author, name: author, widget: string}]}
+ - {label: Full_image, name: full_image, widget: image}
+ - {label: Pricing, name: pricing, widget: object, fields: [{label: Heading, name: heading, widget: string}, {label: Description, name: description, widget: string}, {label: Plans, name: plans, widget: list, fields: [{label: Plan, name: plan, widget: string}, {label: Price, name: price, widget: string}, {label: Description, name: description, widget: string}, {label: Items, name: items, widget: list}]}]}
+ - {label: Body, name: body, widget: markdown}