theme, plugins und config für die Webseite der Baptisten Hohenacker https://baptisten-hohenacker.de
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

72 lines
1.7 KiB

name: Python Script
version: 0.1.0
description: allows inclusion of python script via twig module
icon: plug
author:
name: Clemens Richter
email: csrchter@hotmail.de
homepage: https://github.com/clemens-richter/grav-plugin-python-script
demo: http://demo.yoursite.com
keywords: grav, plugin, etc
bugs: https://github.com/clemens-richter/grav-plugin-python-script/issues
docs: https://github.com/clemens-richter/grav-plugin-python-script/blob/develop/README.md
license: MIT
form:
validation: strict
fields:
enabled:
type: toggle
label: Plugin status
highlight: 1
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
allow_in_page:
type: toggle
label: Allow in page
help: Allow no path, just a filename of a file in the current folder
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
allow_in_grav:
type: toggle
label: Allow in Grav
help: Allow paths relative to Grav root directory
highlight: 1
default: 1
options:
1: Enabled
0: Disabled
validate:
type: bool
allow_in_filesystem:
type: toggle
label: Allow in filesystem
help: Allow full paths for any file on the filesystem
highlight: 0
default: 0
options:
1: Enabled
0: Disabled
validate:
type: bool
allowed_extensions:
type: selectize
size: large
label: Allowed extensions
help: A list of file extensions that should be allowed
classes: fancy
validate:
type: commalist