diff options
author | Mantas Vilčinskas <hi@mnts.lt> | 2020-08-12 14:56:17 +0300 |
---|---|---|
committer | Mantas Vilčinskas <hi@mnts.lt> | 2020-10-27 21:27:08 +0200 |
commit | 00f5d17147a4ae7add3c487fb9784e9f1473c3b4 (patch) | |
tree | 6b2ced6fab2ec78e0d4b599699bff39c0dc04874 /static | |
parent | 54f521f259d75830514502debea8f07d0b981c9d (diff) |
Small changes. Laying the groundwork for timeago.js
Diffstat (limited to 'static')
-rw-r--r-- | static/admin/config.yml | 10 |
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} |