From 5b291f8f541b14fac537fe962c5153e8c857e248 Mon Sep 17 00:00:00 2001 From: Andy Miller Date: Thu, 22 Feb 2018 16:14:24 -0700 Subject: [PATCH] Added Route overrides --- CHANGELOG.md | 1 + system/blueprints/pages/default.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 26 insertions(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3f372f4bb..69c4388e8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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 diff --git a/system/blueprints/pages/default.yaml b/system/blueprints/pages/default.yaml index 8472b3b1a..8f81e527f 100644 --- a/system/blueprints/pages/default.yaml +++ b/system/blueprints/pages/default.yaml @@ -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