Skip to content

Commit

Permalink
Added Route overrides
Browse files Browse the repository at this point in the history
  • Loading branch information
rhukster committed Feb 22, 2018
1 parent 274c701 commit 5b291f8
Show file tree
Hide file tree
Showing 2 changed files with 26 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
* Added ability to have `php` version dependencies in GPM assets
* Added new `{% switch %}` twig tag for more elegant if statements
* Added new `{% markdown %}` twig tag
* Added **Route Overrides** to the default page blueprint
1. [](#improved)
* Vendor library updated to latest
* Improved `Session` initialization
Expand Down
25 changes: 25 additions & 0 deletions system/blueprints/pages/default.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,31 @@ form:
toggleable: true
help: PLUGIN_ADMIN.APPEND_URL_EXT_HELP

routes_only:
type: section
title: PLUGIN_ADMIN.ROUTE_OVERRIDES
underline: true

fields:

header.routes.default:
type: text
toggleable: true
label: PLUGIN_ADMIN.ROUTE_DEFAULT

header.routes.canonical:
type: text
toggleable: true
label: PLUGIN_ADMIN.ROUTE_CANONICAL

header.routes.aliases:
type: array
toggleable: true
value_only: true
size: large
label: PLUGIN_ADMIN.ROUTE_ALIASES


admin_only:
type: section
title: PLUGIN_ADMIN.ADMIN_SPECIFIC_OVERRIDES
Expand Down

0 comments on commit 5b291f8

Please sign in to comment.