Add theme configuration options
parent
0b1410ec83
commit
63a289b805
|
@ -3,7 +3,7 @@ slug: four-creative
|
||||||
type: theme
|
type: theme
|
||||||
version: 0.1.0
|
version: 0.1.0
|
||||||
description: 4Creative theme for Grav
|
description: 4Creative theme for Grav
|
||||||
icon: group
|
icon: cubes
|
||||||
author:
|
author:
|
||||||
name: 4Creative
|
name: 4Creative
|
||||||
email: info@4creative.net
|
email: info@4creative.net
|
||||||
|
@ -15,9 +15,10 @@ dependencies:
|
||||||
form:
|
form:
|
||||||
validation: loose
|
validation: loose
|
||||||
fields:
|
fields:
|
||||||
dropdown.enabled:
|
assetprotection:
|
||||||
type: toggle
|
type: toggle
|
||||||
label: Dropdown in Menu
|
label: Bild-Downloads erschweren
|
||||||
|
help: 'Blockiert den Aufruf des Kontextmenüs für Bilder, was unerfahrenen Nutzern das Stehlen von Seiteninhalten erschwert.'
|
||||||
highlight: 1
|
highlight: 1
|
||||||
default: 1
|
default: 1
|
||||||
options:
|
options:
|
||||||
|
@ -25,3 +26,60 @@ form:
|
||||||
0: PLUGIN_ADMIN.DISABLED
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
validate:
|
validate:
|
||||||
type: bool
|
type: bool
|
||||||
|
copyrightmessage:
|
||||||
|
type: text
|
||||||
|
size: large
|
||||||
|
label: Copyright-Hinweis
|
||||||
|
default: 'All rights reserved'
|
||||||
|
cookiebanner.enabled:
|
||||||
|
type: toggle
|
||||||
|
label: Cookie-Banner einblenden
|
||||||
|
help: 'Blendet ein Banner ein, das auf die Nutzung von Cookies hinweist.'
|
||||||
|
highlight: 1
|
||||||
|
default: 1
|
||||||
|
options:
|
||||||
|
1: PLUGIN_ADMIN.ENABLED
|
||||||
|
0: PLUGIN_ADMIN.DISABLED
|
||||||
|
validate:
|
||||||
|
type: bool
|
||||||
|
cookiebanner.gdprUrl:
|
||||||
|
type: text
|
||||||
|
size: large
|
||||||
|
label: URL zur Datenschutzerklärung
|
||||||
|
default: '/datenschutz'
|
||||||
|
dcurl:
|
||||||
|
type: text
|
||||||
|
label: Discord-Einladungslink
|
||||||
|
default: ''
|
||||||
|
header.logo:
|
||||||
|
type: file
|
||||||
|
label: Header-Logo
|
||||||
|
destination: 'image://'
|
||||||
|
accept: image/*
|
||||||
|
header.stickylogo:
|
||||||
|
type: file
|
||||||
|
label: Sticky-Header-Logo
|
||||||
|
help: 'Kleineres Logo für den "Sticky Header", der erscheint, wenn auf der Seite nach unten gescrollt wird.'
|
||||||
|
destination: 'image://'
|
||||||
|
accept: image/*
|
||||||
|
header.background:
|
||||||
|
type: file
|
||||||
|
label: Hintergrundbild des Headers (optional)
|
||||||
|
destination: 'image://'
|
||||||
|
accept: image/*
|
||||||
|
footer.dcbutton:
|
||||||
|
type: file
|
||||||
|
label: Discord-Button (Footer)
|
||||||
|
destination: 'image://'
|
||||||
|
accept: image/*
|
||||||
|
footer.dcbuttonsmall:
|
||||||
|
type: file
|
||||||
|
label: Kleiner Discord-Button (Footer)
|
||||||
|
help: Wird in der mobilen Version der Website angezeigt
|
||||||
|
destination: 'image://'
|
||||||
|
accept: image/*
|
||||||
|
footer.logo:
|
||||||
|
type: file
|
||||||
|
label: Footer-Logo
|
||||||
|
destination: 'image://'
|
||||||
|
accept: image/*
|
|
@ -1,3 +1,9 @@
|
||||||
enabled: true
|
enabled: true
|
||||||
dropdown:
|
header:
|
||||||
enabled: true
|
background: ''
|
||||||
|
cookiebanner:
|
||||||
|
enabled: false
|
||||||
|
gdprUrl: '/datenschutz'
|
||||||
|
dcurl: ''
|
||||||
|
assetprotection: 1
|
||||||
|
copyrightmessage: 'All rights reserved'
|
Loading…
Reference in New Issue