From 210865bccea753fc87022cad09b8570dfdc3dd8c Mon Sep 17 00:00:00 2001 From: Mantas Vilčinskas Date: Sat, 12 Oct 2019 21:54:33 +0300 Subject: Added outputs for the API introduced in v4 to NCMS --- README.md | 4 +++- static/admin/config.yml | 19 +++++++++++++++++++ 2 files changed, 22 insertions(+), 1 deletion(-) 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 -- cgit v1.2.3-70-g09d2