-
Notifications
You must be signed in to change notification settings - Fork 1
/
config.yml
57 lines (45 loc) · 1.52 KB
/
config.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
# The production config uses a few different paths to load files.
# There are also only some image dimensions specified by default.
# This production environment should be accessed via a separate virtual host.
# An Apache example of such host configuration could be:
#
# <VirtualHost *:80>
# DocumentRoot "<path_to_project>/public"
# ServerName stitcher.local
# ErrorLog "<log_path>/error.log"
# CustomLog "<log_path>/access.log" common
#
# <Directory "<path_to_project>/public">
# AllowOverride All
# Require all granted
# </Directory>
# </VirtualHost>
# Configure the paths of several directories
directories:
# The source directory
src: ./src
# The public directory in which the site is generated
public: ./public
# The cache directory
cache: ./.cache
# Template directory
template: ./src/template
# Configure meta tags
meta:
viewport: width=device-width, initial-scale=1
# Minify CSS and JavaScript
minify: true
# Configure engines
engines:
# Choose the template engine. Available options: smarty, twig
template: smarty
# Use gd as image engine. Possible configurations: `gd` or `imagick`.
image: gd
# Try to use several image optimizers
optimizer: true
# Use asynchronous processes to render resource-intensive stuff. Currently: images.
# NOTE: When using async rendering, the current image library in use might not be able to render very large images.
async: true
caches:
# Enable image caching while rendering
image: true