aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
authorMantas <11616378+mistermantas@users.noreply.github.com>2019-03-20 21:53:59 +0200
committerMantas <11616378+mistermantas@users.noreply.github.com>2019-03-20 21:53:59 +0200
commit2d32f2a384f88eee58ec5fa6c065adc29395f5cd (patch)
treec44184000af6533c312a63933e7c9216926b6710 /static
parent018b7c7562e52305bb48537648f2b5e33862db69 (diff)
Add pages to N CMS
Diffstat (limited to 'static')
-rw-r--r--static/admin/config.yml13
1 files changed, 13 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index d23bcce..5bee7cb 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -45,6 +45,19 @@ collections:
name: "body"
widget: "markdown"
default: "*Investigating* - We are investigating a potential issue that might affect the uptime of one our of services. We are sorry for any inconvenience this may cause you. This incident post will be updated once we have more information."
+ - name: "pages"
+ label: "Pages"
+ label_singular: "Page"
+ description: "📜 Create and manage pages (not connected or related to issues). Good for things like about pages, SLAs, ways of contact, and so forth."
+ folder: "content/pages"
+ create: true
+ slug: "{{slug}}"
+ fields:
+ - {label: "Title", name: "title", widget: "string"}
+ - {label: "Description for SEO and social media", name: "description", widget: "string", required: false}
+ - label: "Markdown (or HTML) body"
+ name: "body"
+ widget: "markdown"
- name: "settings"
label: "Settings"
description: "⚠ Please be warned that by editing settings from Netlify CMS you are _OVERWRITING_ what you have in the original Git repository, meaning any CURRENT SETTINGS OR COMMENTS left will be deleted."