aboutsummaryrefslogtreecommitdiff
path: root/static
diff options
context:
space:
mode:
Diffstat (limited to 'static')
-rw-r--r--static/admin/config.yml10
1 files changed, 10 insertions, 0 deletions
diff --git a/static/admin/config.yml b/static/admin/config.yml
index eacf165..f7a7182 100644
--- a/static/admin/config.yml
+++ b/static/admin/config.yml
@@ -38,6 +38,9 @@ collections:
- label: Drafts
field: draft
pattern: true
+ - label: Published (not a draft)
+ field: draft
+ pattern: false
- label: "High severity (down)"
field: severity
pattern: 'down'
@@ -77,6 +80,13 @@ collections:
folder: "content/pages"
create: true
slug: "{{slug}}"
+ view_filters:
+ - label: Drafts
+ field: draft
+ pattern: true
+ - label: Published (not a draft)
+ field: draft
+ pattern: false
fields:
- {label: "Title", name: "title", widget: "string"}
- {label: "Hide this from the site (make it a draft) 👀", name: "draft", widget: "boolean", required: false, default: false}