diff options
| author | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-09-02 14:08:54 -0700 |
|---|---|---|
| committer | Mathias Biilmann Christensen <info@mathias-biilmann.net> | 2017-09-02 14:08:54 -0700 |
| commit | 2385c63edd389348d2412bab1749409303b9b22f (patch) | |
| tree | 5f56c8ec316e6d2099a70c1c9712ace19f36669e /src | |
| parent | f70a7350a503c9e85190a835ef77b938dad63dc4 (diff) | |
Setup cms with netlify identity
Diffstat (limited to 'src')
| -rw-r--r-- | src/cms/config.yml | 37 | ||||
| -rw-r--r-- | src/cms/index.html | 16 |
2 files changed, 0 insertions, 53 deletions
diff --git a/src/cms/config.yml b/src/cms/config.yml deleted file mode 100644 index 89af1d6..0000000 --- a/src/cms/config.yml +++ /dev/null @@ -1,37 +0,0 @@ -backend: - name: github - repo: <% GITHUB_REPOSITORY %> # Gulp will replace this with your GitHub repository - branch: master # Branch to update (master by default) - -media_folder: "site/static/img" # Folder where user uploaded files should go -public_folder: "img" - -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 - 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: "Intro Blurb", name: "description", widget: "text"} - - {label: "Image", name: "image", widget: "image", required: false} - - {label: "Body", name: "body", widget: "markdown"} - - name: "pages" - label: "Pages" - files: - - file: "site/content/products.md" - label: "Products Page" - name: "products" - fields: - - {label: Title, name: title, widget: string} - - {label: Type, name: type, widget: hidden, default: products} - - {label: Page, name: page, widget: hidden, default: "/products.html"} - - {label: Image, name: image, widget: image} - - {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}]}]} diff --git a/src/cms/index.html b/src/cms/index.html deleted file mode 100644 index efa668b..0000000 --- a/src/cms/index.html +++ /dev/null @@ -1,16 +0,0 @@ -<!doctype html> -<html> -<head> - <meta charset="utf-8" /> - <meta name="viewport" content="width=device-width, initial-scale=1.0" /> - - <title>Content Manager</title> - <!-- Include the stylesheets from your site here --> - <link rel="stylesheet" href="/cms.css" /> - <!-- Include a CMS specific stylesheet here --> - -</head> -<body> - <script src="/cms.js"></script> -</body> -</html> |
