-
Notifications
You must be signed in to change notification settings - Fork 0
/
site.yml
66 lines (56 loc) · 1.67 KB
/
site.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
version: 2
components:
mailer:
debug_email: "%debug_email%"
smtp_host: "%mailer_smtp_host%"
smtp_port: "%mailer_smtp_port%"
smtp_encryption: "%mailer_smtp_encryption%"
smtp_username: "%mailer_smtp_username%"
smtp_password: "%mailer_smtp_password%"
middlewares:
url:
canonical: example-site-single-language
extra: []
httpauth:
username: user
password: pass
locale: en_US
data:
products: products.yml
form:
contact:
success_flash_message: Thank you for your message.
handlers:
- type: email
from:
name: MCS example-2 site
address: [email protected]
recipients:
to: [ [email protected] ]
bcc: [ [email protected] ]
templates:
subject: email/subject.html.twig
body: email/body.html.twig
- type: log
file: form.log
fields:
name:
- NotBlank: ~
email:
- NotBlank: ~
- Email:
checkMX: true
message:
- NotBlank: ~
router:
index: /
product: /products/{product_slug | products:slug}
contact: /contact
redirect:
/test/url1: /products/carrot
renderer:
index: index.html.twig
product: product.html.twig
contact: contact.html.twig
imports:
- { resource: parameters.yml }