@eeacms/volto-eea-website-policy 4.0.8 → 4.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +8 -0
- package/package.json +1 -1
- package/src/index.js +14 -0
package/CHANGELOG.md
CHANGED
|
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file. Dates are d
|
|
|
4
4
|
|
|
5
5
|
Generated by [`auto-changelog`](https://github.com/CookPete/auto-changelog).
|
|
6
6
|
|
|
7
|
+
### [4.0.10](https://github.com/eea/volto-eea-website-policy/compare/4.0.9...4.0.10) - 10 November 2026
|
|
8
|
+
|
|
9
|
+
#### :bug: Bug Fixes
|
|
10
|
+
|
|
11
|
+
- fix: Enable legacy Plone route redirects - refs #310279 [Alin Voinea - [`b887aa3`](https://github.com/eea/volto-eea-website-policy/commit/b887aa3fdd5f4e1c5a96f1ccfb068135e34c6e62)]
|
|
12
|
+
|
|
13
|
+
### [4.0.9](https://github.com/eea/volto-eea-website-policy/compare/4.0.8...4.0.9) - 10 November 2026
|
|
14
|
+
|
|
7
15
|
### [4.0.8](https://github.com/eea/volto-eea-website-policy/compare/4.0.7...4.0.8) - 30 October 2026
|
|
8
16
|
|
|
9
17
|
### [4.0.7](https://github.com/eea/volto-eea-website-policy/compare/4.0.6...4.0.7) - 12 October 2026
|
package/package.json
CHANGED
package/src/index.js
CHANGED
|
@@ -100,6 +100,20 @@ const applyConfig = (config) => {
|
|
|
100
100
|
rolesWhoCanChangeLayout: ['Manager'],
|
|
101
101
|
};
|
|
102
102
|
|
|
103
|
+
// PWA: browser UI color and iOS home screen title, rendered as meta tags
|
|
104
|
+
// by the theme's Html.jsx. Keep in sync with public/site.webmanifest.
|
|
105
|
+
config.settings.eea.themeColor = '#004B7F';
|
|
106
|
+
config.settings.eea.appTitle = 'EEA';
|
|
107
|
+
|
|
108
|
+
// Legacy Plone routes: /@@search and /search land on the EEA search page,
|
|
109
|
+
// Plone view/file suffixes (/view, /@@view, /folder_listing, /at_download)
|
|
110
|
+
// are stripped to the parent object. See the theme's middleware/legacyRoutes.js
|
|
111
|
+
config.settings.eea.legacyRoutes = {
|
|
112
|
+
...config.settings.eea.legacyRoutes,
|
|
113
|
+
views: true,
|
|
114
|
+
search: '/en/advanced-search',
|
|
115
|
+
};
|
|
116
|
+
|
|
103
117
|
// EPANET subsite: hardcoded governance exception, intentionally not
|
|
104
118
|
// editable from the CMS. The uploaded subsite logo replaces the EEA logo,
|
|
105
119
|
// the header top bar is hidden and the footer does not show the EEA
|