aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMantas Vilčinskas <hi@mnts.lt>2019-10-12 21:54:33 +0300
committerMantas Vilčinskas <hi@mnts.lt>2019-10-12 21:54:33 +0300
commit210865bccea753fc87022cad09b8570dfdc3dd8c (patch)
tree76f89196d6a02feab1cbbf2e9eef660071bb0aed
parent847b0718b6a0cfe1a0c6b0b370c5715cf108db65 (diff)
Added outputs for the API introduced in v4 to NCMS
-rw-r--r--README.md4
-rw-r--r--static/admin/config.yml19
2 files changed, 22 insertions, 1 deletions
diff --git a/README.md b/README.md
index 6c97d5e..809feca 100644
--- a/README.md
+++ b/README.md
@@ -30,8 +30,9 @@
+ Works not just on mobile, but also on the archaic Internet Explorer 8
+ Makes you accountable, showcasing how long it took for an issue to be resolved
+ Great for data manipulation and viewing — has RSS, tag-like system feeds
++ Customizable views, colors, and other elements
-**Fast, reliable, and free**
+**Fast, reliable, and free (even to host)**
+ Built with [Hugo](https://gohugo.io), a hyperfast Golang generator
+ Secure, ready for HTTPS, thanks to [JAMstack](https://jamstack.org/)
@@ -42,6 +43,7 @@
+ Edit your status page from a simple config file
+ Comes pre-equipped with Netlify CMS for quick admin updates
+ Extensive documentation on the [wiki](https://github.com/cstate/cstate/wiki)
++ [Read-only API available](https://github.com/cstate/cstate/wiki/API)
## Getting started 💻
diff --git a/static/admin/config.yml b/static/admin/config.yml
index f470a4a..1b64060 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -245,3 +245,22 @@ collections:
widget: "hidden"
fields:
- {label: "affected", name: "affected", widget: "hidden", default: "affected"}
+ - label: "outputs (Do not touch!)"
+ name: outputs
+ widget: "hidden"
+ fields:
+ - label: "page"
+ name: page
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json']
+ - label: "section"
+ name: section
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json', 'rss']
+ - label: "home"
+ name: home
+ widget: "list"
+ allow_add: false
+ default: ['html', 'json', 'rss'] \ No newline at end of file