mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
Added recent posts option
This commit is contained in:
parent
d0ae2b5b25
commit
ade2835a39
1 changed files with 21 additions and 1 deletions
|
@ -1,7 +1,7 @@
|
||||||
name: Future 2021
|
name: Future 2021
|
||||||
slug: future2021
|
slug: future2021
|
||||||
type: theme
|
type: theme
|
||||||
version: 1.0.7
|
version: 1.2.0
|
||||||
description: Grav Future Imperfect by HTML5 UP (Version 2021)
|
description: Grav Future Imperfect by HTML5 UP (Version 2021)
|
||||||
icon: microchip
|
icon: microchip
|
||||||
author:
|
author:
|
||||||
|
@ -171,6 +171,26 @@ form:
|
||||||
validate:
|
validate:
|
||||||
min: 1
|
min: 1
|
||||||
max: 5
|
max: 5
|
||||||
|
|
||||||
|
recent_posts_enabled:
|
||||||
|
type: toggle
|
||||||
|
label: FUTURE.ADMIN.THEME.RECENT_POSTS_ENABLED
|
||||||
|
highlight: 0
|
||||||
|
default: 0
|
||||||
|
options:
|
||||||
|
1: PLUGIN_ADMIN.ENABLED
|
||||||
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
|
validate:
|
||||||
|
type: bool
|
||||||
|
|
||||||
|
recent_posts_number:
|
||||||
|
type: range
|
||||||
|
label: FUTURE.ADMIN.THEME.RECENT_POSTS_NUMBER
|
||||||
|
description: FUTURE.ADMIN.THEME.RECENT_POSTS_NUMBER_DESCRIPTION
|
||||||
|
default: 5
|
||||||
|
validate:
|
||||||
|
min: 1
|
||||||
|
max: 15
|
||||||
|
|
||||||
footer_section:
|
footer_section:
|
||||||
type: fieldset
|
type: fieldset
|
||||||
|
|
Loading…
Add table
Reference in a new issue