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.
1.4 KiB
1.4 KiB
| title | process | cache_enable | form |
|---|---|---|---|
| test | [{markdown true} {twig true}] | false | [{name feedback-form} {fields <nil>}] |
name: name
label: Name
placeholder: 'Enter your name'
autofocus: 'on'
autocomplete: 'on'
type: text
validate:
required: true
-
name: feedback
label: Feedback
placeholder: 'Enter your feedback'
type: text
validate:
required: true
buttons:
-
type: submit
value: Submit
-
type: reset
value: Reset
process:
-
save:
fileprefix: feedback-
dateformat: Ymd-His-u
extension: txt
body: '{% include ''forms/data.txt.twig'' %}'
-
message: 'Thank you for your feedback!'
{% include "forms/form.html.twig" %}
test
twig function:
{{ pythonscript('test.py','~/razor/grav/aufnahmen/') }}
twig filter
{{ 'this is a test' | pythonscript('test.py') }}
twig filter on section
{% filter pythonscript('test.py') %} this is a test {% endfilter %}