diff --git a/CHANGELOG.md b/CHANGELOG.md index 3b5e30f4b..36f134b0c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,8 @@ # v1.4.0-rc.1 ## mm/dd/2017 +1. [](#improved) + * Made `modular` blueprint more flexible 1. [](#bugfix) * Date ordering should always be numeric [#1810](https://github.com/getgrav/grav/issues/1810) diff --git a/system/blueprints/pages/modular.yaml b/system/blueprints/pages/modular.yaml index 76a60f8c7..89b107a9d 100644 --- a/system/blueprints/pages/modular.yaml +++ b/system/blueprints/pages/modular.yaml @@ -1,7 +1,5 @@ title: PLUGIN_ADMIN.MODULAR -@extends: - type: default - context: blueprints://pages +'@extends': default form: fields: @@ -13,35 +11,28 @@ form: content: fields: + modular_title: + type: spacer + title: Modular Setup + header.content.items: - type: select + type: text label: PLUGIN_ADMIN.ITEMS default: '@self.modular' - options: - '@self.modular': Modular Children + size: medium header.content.order.by: - type: select + type: text label: PLUGIN_ADMIN.ORDER_BY - default: date - options: - folder: PLUGIN_ADMIN.FOLDER - title: PLUGIN_ADMIN.TITLE - date: PLUGIN_ADMIN.DATE - default: PLUGIN_ADMIN.DEFAULT + placeholder: date + help: + size: small header.content.order.dir: - type: select + type: text label: PLUGIN_ADMIN.ORDER - default: desc - options: - asc: PLUGIN_ADMIN.ASCENDING - desc: PLUGIN_ADMIN.DESCENDING + help: '"desc" or "asc" are valid values' + placeholder: desc + size: small - header.process: - type: ignore - content: - type: ignore - header.media_order: - type: ignore