mirror of
https://github.com/getgrav/grav.git
synced 2026-07-04 11:07:25 +02:00
Added configuration option for Flex Page, enabled experimental options in Admin Plugin
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
# v1.7.0-beta.6
|
||||
## mm/dd/2019
|
||||
|
||||
1. [](#new)
|
||||
* Added configuration option for `Flex Page`, enabled experimental options in Admin Plugin
|
||||
1. [](#bugfix)
|
||||
* Fixed `$page->summary()` always striping HTML tags if the summary was set by `$page->setSummary()`
|
||||
|
||||
|
||||
@@ -1461,3 +1461,40 @@ form:
|
||||
0: PLUGIN_ADMIN.NO
|
||||
validate:
|
||||
type: bool
|
||||
|
||||
experimental:
|
||||
type: tab
|
||||
title: PLUGIN_ADMIN.EXPERIMENTAL
|
||||
|
||||
fields:
|
||||
experimental_section:
|
||||
type: section
|
||||
title: PLUGIN_ADMIN.EXPERIMENTAL
|
||||
underline: true
|
||||
|
||||
pages.type:
|
||||
type: select
|
||||
label: PLUGIN_ADMIN.PAGES_TYPE
|
||||
highlight: stable
|
||||
help: PLUGIN_ADMIN.PAGES_TYPE_HELP
|
||||
options:
|
||||
page: PLUGIN_ADMIN.REGULAR
|
||||
flex: PLUGIN_ADMIN.FLEX
|
||||
|
||||
accounts.type:
|
||||
type: select
|
||||
label: PLUGIN_ADMIN.ACCOUNTS_TYPE
|
||||
highlight: stable
|
||||
help: PLUGIN_ADMIN.ACCOUNTS_TYPE_HELP
|
||||
options:
|
||||
data: PLUGIN_ADMIN.REGULAR
|
||||
flex: PLUGIN_ADMIN.FLEX
|
||||
|
||||
accounts.storage:
|
||||
type: select
|
||||
label: PLUGIN_ADMIN.ACCOUNTS_STORAGE
|
||||
highlight: stable
|
||||
help: PLUGIN_ADMIN.ACCOUNTS_STORAGE_HELP
|
||||
options:
|
||||
data: PLUGIN_ADMIN.FILE
|
||||
flex: PLUGIN_ADMIN.FOLDER
|
||||
|
||||
@@ -27,6 +27,7 @@ home:
|
||||
hide_in_urls: false # Hide the home route in URLs
|
||||
|
||||
pages:
|
||||
type: page # EXPERIMENTAL: Page type: page or flex
|
||||
theme: quark # Default theme (defaults to "quark" theme)
|
||||
order:
|
||||
by: default # Order pages by "default", "alpha" or "date"
|
||||
@@ -163,8 +164,8 @@ gpm:
|
||||
official_gpm_only: true # By default GPM direct-install will only allow URLs via the official GPM proxy to ensure security
|
||||
|
||||
accounts:
|
||||
type: data # Account type: data or flex
|
||||
storage: file # Flex storage type: file or folder
|
||||
type: data # EXPERIMENTAL: Account type: data or flex
|
||||
storage: file # EXPERIMENTAL: Flex storage type: file or folder
|
||||
|
||||
strict_mode:
|
||||
yaml_compat: true # Grav 1.5+: Enables YAML backwards compatibility
|
||||
|
||||
Reference in New Issue
Block a user