mirror of
https://github.com/pmoreno-rodriguez/grav-theme-future2021.git
synced 2025-06-07 20:08:54 +00:00
312 lines
8.8 KiB
YAML
Executable file
312 lines
8.8 KiB
YAML
Executable file
name: Future 2021
|
|
slug: future2021
|
|
type: theme
|
|
version: 1.2.0
|
|
description: Grav Future Imperfect by HTML5 UP (Version 2021)
|
|
icon: microchip
|
|
author:
|
|
name: Pedro Moreno
|
|
email: webmaster@juanvillen.es
|
|
url:
|
|
homepage: https://github.com/pmoreno-rodriguez/grav-theme-future2021
|
|
demo: http://future.juanvillen.es
|
|
keywords: future imperfect, html5up, theme, core, modern, fast, responsive, html5, css3
|
|
bugs: https://github.com/pmoreno-rodriguez/grav-theme-future2021/issues
|
|
license: CC-BY-3.0
|
|
|
|
dependencies:
|
|
- { name: grav, version: '>=1.7.0' }
|
|
|
|
form:
|
|
validation: loose
|
|
|
|
fields:
|
|
production-mode:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.PRODUCTION_MODE
|
|
help: FUTURE.ADMIN.THEME.PRODUCTION_MODE_HELP
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
|
|
sidebar:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.SIDEBAR
|
|
help: FUTURE.ADMIN.THEME.SIDEBAR_HELP
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
|
|
header_section:
|
|
type: fieldset
|
|
collapsible: true
|
|
collapsed: true
|
|
icon: header
|
|
title: FUTURE.ADMIN.THEME.HEADER
|
|
fields:
|
|
|
|
favicon:
|
|
type: file
|
|
label: FUTURE.ADMIN.THEME.FAVICON
|
|
destination: 'theme@:/images'
|
|
multiple: false
|
|
avoid_overwriting: false
|
|
random_name: false
|
|
toggleable: true
|
|
filesize: 3
|
|
accept: ['image/png', '.ico']
|
|
|
|
custom_logo:
|
|
type: file
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_LOGO
|
|
size: large
|
|
destination: 'theme://images/logo'
|
|
multiple: false
|
|
markdown: true
|
|
description: FUTURE.ADMIN.THEME.CUSTOM_LOGO_DESCRIPTION
|
|
accept:
|
|
- image/*
|
|
|
|
custom_logo_mobile:
|
|
type: file
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_LOGO_MOBILE
|
|
size: large
|
|
destination: 'theme://images/logo'
|
|
multiple: false
|
|
accept:
|
|
- image/*
|
|
|
|
slogan:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.SLOGAN
|
|
|
|
menu_options:
|
|
type: section
|
|
title: FUTURE.ADMIN.THEME.MENU.TITLE
|
|
underline: true
|
|
|
|
menu_langswitcher:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.MENU.LANGSWITCHER
|
|
help: FUTURE.ADMIN.THEME.MENU.LANGSWITCHER_HELP
|
|
default: 0
|
|
highlight: 0
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
|
|
menu_search:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.MENU.SEARCH
|
|
help: FUTURE.ADMIN.THEME.MENU.SEARCH_HELP
|
|
default: 0
|
|
highlight: 0
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
|
|
menu_login:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.MENU.LOGIN
|
|
help: FUTURE.ADMIN.THEME.MENU.LOGIN_HELP
|
|
default: 0
|
|
highlight: 0
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
|
|
blog_section:
|
|
type: fieldset
|
|
collapsible: true
|
|
collapsed: true
|
|
icon: rss
|
|
title: FUTURE.ADMIN.THEME.BLOG_DEFAULTS
|
|
fields:
|
|
|
|
blog_page:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.BLOG_PAGE
|
|
help: FUTURE.ADMIN.THEME.BLOG_PAGE_HELP
|
|
size: medium
|
|
default: '/blog'
|
|
|
|
miniposts:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.MINIPOSTS
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
|
|
miniposts_category:
|
|
type: text
|
|
markdown: true
|
|
label: FUTURE.ADMIN.THEME.MINIPOSTS_CATEGORY
|
|
description: FUTURE.ADMIN.THEME.MINIPOSTS_CATEGORY_DESCRIPTION
|
|
size: medium
|
|
default: 'minipost'
|
|
|
|
miniposts_number:
|
|
type: range
|
|
label: FUTURE.ADMIN.THEME.MINIPOSTS_NUMBER
|
|
description: FUTURE.ADMIN.THEME.MINIPOSTS_NUMBER_DESCRIPTION
|
|
default: 3
|
|
validate:
|
|
min: 1
|
|
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:
|
|
type: fieldset
|
|
collapsible: true
|
|
collapsed: true
|
|
icon: list-alt
|
|
title: FUTURE.ADMIN.THEME.FOOTER
|
|
fields:
|
|
|
|
footer.title:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.FOOTER_TITLE
|
|
footer.description:
|
|
type: textarea
|
|
rows: 5
|
|
markdown: true
|
|
label: FUTURE.ADMIN.THEME.FOOTER_DESCRIPTION
|
|
footer.copyright_text:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.FOOTER_COPYRIGHT
|
|
footer.button_text:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.FOOTER_BUTTON_TEXT
|
|
footer.button_url:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.FOOTER_BUTTON_URL
|
|
|
|
social_icons_section:
|
|
type: fieldset
|
|
collapsible: true
|
|
collapsed: true
|
|
icon: share-alt
|
|
title: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICONS
|
|
fields:
|
|
|
|
enable_social:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ENABLE
|
|
highlight: 1
|
|
default: 1
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
social_style:
|
|
type: select
|
|
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE
|
|
description: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_DESCRIPTION
|
|
default: brands
|
|
size: medium
|
|
options:
|
|
regular: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_REGULAR
|
|
solid: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_SOLID
|
|
brands: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_STYLE_BRANDS
|
|
social:
|
|
name: social
|
|
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICONS_LIST
|
|
type: list
|
|
style: vertical
|
|
collapsed: false
|
|
max: 5
|
|
fields:
|
|
.name:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICON_NAME
|
|
.url:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICON_URL
|
|
.icon:
|
|
type: iconpicker
|
|
label: FUTURE.ADMIN.THEME.FOOTER_SOCIAL_ICON_ICON
|
|
|
|
custommenu_options_section:
|
|
type: fieldset
|
|
collapsible: true
|
|
collapsed: true
|
|
icon: bars
|
|
title: FUTURE.ADMIN.THEME.CUSTOM_MENU_TITLE
|
|
fields:
|
|
|
|
custommenus.enabled:
|
|
type: toggle
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ENABLE
|
|
help: FUTURE.ADMIN.THEME.CUSTOM_MENU_ENABLE_HELP
|
|
default: 1
|
|
highlight: 1
|
|
options:
|
|
1: PLUGIN_ADMIN.ENABLED
|
|
0: PLUGIN_ADMIN.DISABLED
|
|
validate:
|
|
type: bool
|
|
custommenu:
|
|
name: menu
|
|
type: list
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_TITLE
|
|
fields:
|
|
.text:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TEXT
|
|
description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TEXT_DESCRIPTION
|
|
.icon:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_ICON
|
|
description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_ICON_DESCRIPTION
|
|
.url:
|
|
type: text
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_URL
|
|
description: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_URL_DESCRIPTION
|
|
.target:
|
|
type: select
|
|
label: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET
|
|
default: _self
|
|
size: medium
|
|
options:
|
|
_blank: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_BLANK
|
|
_parent: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_PARENT
|
|
_self: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_SELF
|
|
_top: FUTURE.ADMIN.THEME.CUSTOM_MENU_ITEM_TARGET_TOP
|