Prepare for release 1.4.0

This commit is contained in:
pmoreno.rodriguez 2024-07-16 22:31:59 +02:00
parent 2dd121fde0
commit 150b979f0e
2 changed files with 29 additions and 1 deletions

View file

@ -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

View file

@ -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