# ----------------------------------------------------------------- # Notifications # ----------------------------------------------------------------- - name: notification label: πŸ“£ Notifications label_singular: πŸ“£ Notification description: "Notifications and alerts" folder: "src/content/notification" slug: "{{title}}" preview_path: notification/{{title}}/ create: true delete: true editor: preview: false # Overview summary: "{{title}} Status: [{{status}}]" sortable_fields: ["title", "date"] view_filters: - label: Drafts field: eleventyExcludeFromCollections pattern: true view_groups: - label: Tags field: tags fields: - { label: "Title", name: "title", widget: "string" } - label: πŸ’πŸ½β€β™‚οΈ status name: "status" widget: "select" multiple: false options: ["info", "warning", "alert"] default: "info" - label: "❗️info" name: "text" widget: "markdown" buttons: - bold - italic - link required: false - { label: "link to page", name: "showlink", widget: "boolean", default: false } - label: "πŸ‘©β€πŸ’» Content" name: "body" widget: "markdown" buttons: - link - bold - italic - heading-one - heading-two - heading-three - code - quote - bulleted-list editor_components: - shortcode-picture - code-block required: false # Date - label: "πŸ•’ Date" name: "date" widget: "datetime" date_format: "DD.MM.YYYY" time_format: "HH:mm" format: "YYYY-MM-DD HH:mm:ss" picker_utc: true - { label: "😴 Draft Mode", name: "eleventyExcludeFromCollections", widget: "boolean", default: false, required: false, hint: "is this a draft ?", }