From addd97403357e743c9e6d3d688c8c283c8544f58 Mon Sep 17 00:00:00 2001 From: Austin Green Date: Fri, 27 Oct 2017 23:57:32 -0400 Subject: [PATCH] clean config --- src/templates/product-page.js | 1 - static/admin/config.yml | 7 ++----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/src/templates/product-page.js b/src/templates/product-page.js index cbec059..15fa78b 100644 --- a/src/templates/product-page.js +++ b/src/templates/product-page.js @@ -41,7 +41,6 @@ export default ({ data }) => {

{frontmatter.pricing.heading}

{frontmatter.pricing.description}

- {console.log(frontmatter.pricing.plans)} diff --git a/static/admin/config.yml b/static/admin/config.yml index b588cbd..255afb5 100644 --- a/static/admin/config.yml +++ b/static/admin/config.yml @@ -21,11 +21,9 @@ collections: - name: "pages" label: "Pages" files: - - name: "about" + - file: "src/pages/about" label: "About" - folder: "src/pages/about" - create: false - slug: "{{slug}}" + name: "about" fields: - {label: "Template Key", name: "templateKey", widget: "hidden", default: "about-page"} - {label: "Path", name: "path", widget: "hidden", default: "/about"} @@ -34,7 +32,6 @@ collections: - file: "src/pages/product" label: "Products Page" name: "products" - create: false fields: - {label: "Template Key", name: "templateKey", widget: "hidden", default: "products-page"} - {label: Title, name: title, widget: string}