forked from Disroot/Website
home page stuff
This commit is contained in:
parent
10868d15e3
commit
f9c7eda161
|
@ -1,56 +1,6 @@
|
|||
---
|
||||
title: Disroot
|
||||
menu: home
|
||||
form:
|
||||
name: my-nice-form
|
||||
action: /home
|
||||
fields:
|
||||
-
|
||||
name: name
|
||||
label: Name
|
||||
placeholder: 'Enter your name'
|
||||
autocomplete: 'on'
|
||||
type: text
|
||||
validate:
|
||||
required: true
|
||||
-
|
||||
name: email
|
||||
label: Email
|
||||
placeholder: 'Enter your email address'
|
||||
type: text
|
||||
validate:
|
||||
rule: email
|
||||
required: true
|
||||
-
|
||||
name: message
|
||||
label: Message
|
||||
size: long
|
||||
placeholder: 'Enter your message'
|
||||
type: textarea
|
||||
validate:
|
||||
required: true
|
||||
buttons:
|
||||
-
|
||||
type: submit
|
||||
value: Submit
|
||||
class: submit
|
||||
process:
|
||||
-
|
||||
email:
|
||||
from: '{{ config.plugins.email.from }}'
|
||||
to: ['{{ config.plugins.email.to }}', '{{ form.value.email }}']
|
||||
subject: '[Feedback] {{ form.value.name|e }}'
|
||||
body: '{% include ''forms/data.html.twig'' %}'
|
||||
-
|
||||
save:
|
||||
fileprefix: feedback-
|
||||
dateformat: Ymd-His-u
|
||||
extension: txt
|
||||
body: '{% include ''forms/data.txt.twig'' %}'
|
||||
-
|
||||
message: 'Thank you for your feedback!'
|
||||
-
|
||||
display: thankyou
|
||||
onpage_menu: true
|
||||
content:
|
||||
items: '@self.modular'
|
||||
|
@ -59,10 +9,11 @@ content:
|
|||
dir: asc
|
||||
custom:
|
||||
- _about
|
||||
- _resume
|
||||
- _portfolio
|
||||
- _call
|
||||
- _testimonials
|
||||
- _contact
|
||||
- _dashboard
|
||||
- _services1
|
||||
- _services2
|
||||
- _services3
|
||||
- _services4
|
||||
- _buttons
|
||||
- _news
|
||||
---
|
||||
|
||||
|
|
Loading…
Reference in a new issue