-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsite.yml
72 lines (63 loc) · 1.86 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
67
68
69
70
71
72
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-multi-language
extra: []
locale:
default:
key: en
name: en_US
extra: { cs: cs_CZ }
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: ~
tracking:
google_analytics: UA-example_ga_id
router:
index:
cs_CZ: /
en_US: /
product:
cs_CZ: /zbozi/{product_slug | products:cs.slug}
en_US: /products/{product_slug | products:en.slug}
contact:
cs_CZ: /kontakt
en_US: /contact
renderer:
index: index.html.twig
product: product.html.twig
contact: contact.html.twig
imports:
- { resource: parameters.yml }