diff --git a/CHANGELOG.md b/CHANGELOG.md index 9d95a2f..9d24d52 100755 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,12 @@ +# v1.4.0 +## 07/16/2024 + +1. [](#new) + * Removed the `custom.js` and `custom.css` files from the theme, to avoid overwriting user customizations with the release of new versions. These files are now loaded, if they exist in the theme's `assets/css` or `assets/js` folder, using the `onTwigSiteVariables` function within `future2021.php` and can be enabled from the theme settings. +2. [](#improved) + * Fixed the escaping of an html string in the metadata description + * Integrated "Back to Top" button code in main.js + # v1.3.3 ## 05/15/2024 diff --git a/blueprints.yaml b/blueprints.yaml index 5042dd8..d8dea93 100755 --- a/blueprints.yaml +++ b/blueprints.yaml @@ -1,7 +1,7 @@ name: Future 2021 slug: future2021 type: theme -version: 1.3.3 +version: 1.4.0 description: Grav Future Imperfect by HTML5 UP (Version 2021) icon: microchip author: @@ -109,6 +109,25 @@ form: type: text label: FUTURE.ADMIN.THEME.SLOGAN + custom_css: + type: toggle + label: FUTURE.ADMIN.THEME.CUSTOM_CSS + help: FUTURE.ADMIN.THEME.CUSTOM_CSS_HELP + highlight: 1 + default: true + options: + 1: Enabled + 0: Disabled + custom_js: + type: toggle + label: FUTURE.ADMIN.THEME.CUSTOM_JS + help: FUTURE.ADMIN.THEME.CUSTOM_JS_HELP + highlight: 1 + default: true + options: + 1: Enabled + 0: Disabled + menu_options: type: section title: FUTURE.ADMIN.THEME.MENU.TITLE