grav-theme-future2021/blueprints.yaml
pmoreno.rodriguez b5621e7728 Version 1.0.2
2022-11-08 21:42:43 +01:00

227 lines
6.4 KiB
YAML

name: Future 2021
slug: future2021
type: theme
version: 1.0.2
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.6.0' }
- archives
- breadcrumbs
- pagination
- simplesearch
- taxonomylist
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
header_section:
type: section
title: FUTURE.ADMIN.THEME.HEADER_SECTION
underline: true
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
blog_section:
type: columns
fields:
blog_fields:
type: column
fields:
blog:
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_DESCRIPTION
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
footer_section:
type: columns
fields:
footer_fields:
type: column
fields:
footer:
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:
type: fieldset
collapsible: true
collapsed: true
icon: share-alt
title: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICONS
fields:
social:
name: social
type: list
style: vertical
collapsed: false
max: 5
fields:
.name:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICON_NAME
.url:
type: text
label: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICON_URL
.icon:
type: iconpicker
label: FUTURE.ADMIN.THEME.FOOTER_SOCIALS_ICON_ICON
custommenu_options:
type: fieldset
collapsible: true
collapsed: true
icon: bars
title: 'Custom Menu Items'
fields:
displaycustommenus.enabled:
type: toggle
label: 'Display Custom Menu Items'
help: 'Determines if any defined custom menu entries are displayed in the menubar.'
default: 0
highlight: 1
options:
'0': No
'1': Yes
validate:
type: bool
custommenu:
name: menu
type: list
label: 'Custom Menu Items'
fields:
.text:
type: text
label: Text
description: 'Text label for menu item.'
.icon:
type: text
label: Icon
description: 'Font Awesome icon for menu item.'
.url:
type: text
label: URL
description: 'URL for menu item.'
.target:
type: select
label: Target
default: _self
size: medium
options:
_blank: 'Open in a new window'
_parent: 'Open in the parent frame'
_top: 'Open in the full body of the window'
_self: 'Open in the same frame as clicked'