Skip to content

Commit fd828d4

Browse files
committed
trim down default user/config/system.yaml
Signed-off-by: Andy Miller <rhuk@mac.com>
1 parent 63bbc1c commit fd828d4

File tree

1 file changed

+10
-221
lines changed

1 file changed

+10
-221
lines changed

user/config/system.yaml

Lines changed: 10 additions & 221 deletions
Original file line numberDiff line numberDiff line change
@@ -1,242 +1,31 @@
1-
absolute_urls: false
2-
timezone: null
3-
param_sep: ':'
4-
wrapped_site: false
5-
reverse_proxy_setup: false
6-
force_ssl: false
7-
force_lowercase_urls: true
8-
custom_base_url: null
9-
username_regex: '^[a-z0-9_-]{3,16}$'
10-
pwd_regex: '(?=.*\d)(?=.*[a-z])(?=.*[A-Z]).{8,}'
11-
intl_enabled: true
12-
http_x_forwarded:
13-
protocol: true
14-
host: false
15-
port: true
16-
ip: true
17-
languages:
18-
supported: null
19-
default_lang: null
20-
include_default_lang: true
21-
include_default_lang_file_extension: true
22-
translations: true
23-
translations_fallback: true
24-
session_store_active: false
25-
http_accept_language: false
26-
override_locale: false
27-
pages_fallback_only: false
28-
debug: false
291
home:
30-
alias: /home
31-
hide_in_urls: false
2+
alias: '/home'
3+
324
pages:
33-
type: regular
34-
dirs:
35-
- 'page://'
365
theme: quark
37-
order:
38-
by: default
39-
dir: asc
40-
list:
41-
count: 20
42-
dateformat:
43-
default: null
44-
short: 'jS M Y'
45-
long: 'F jS \a\t g:ia'
46-
publish_dates: true
47-
process:
48-
markdown: true
49-
twig: false
50-
twig_first: false
51-
never_cache_twig: false
52-
events:
53-
page: true
54-
twig: true
55-
markdown:
56-
extra: false
57-
auto_line_breaks: false
58-
auto_url_links: false
59-
escape_markup: false
60-
special_chars:
61-
'>': gt
62-
'<': lt
63-
valid_link_attributes:
64-
- rel
65-
- target
66-
- id
67-
- class
68-
- classes
69-
types:
70-
- html
71-
- htm
72-
- xml
73-
- txt
74-
- json
75-
- rss
76-
- atom
77-
append_url_extension: null
78-
expires: 604800
79-
cache_control: null
80-
last_modified: false
81-
etag: true
82-
vary_accept_encoding: false
83-
redirect_default_code: '302'
84-
redirect_trailing_slash: 1
85-
redirect_default_route: 0
86-
ignore_files:
87-
- .DS_Store
88-
ignore_folders:
89-
- .git
90-
- .idea
91-
ignore_hidden: true
92-
hide_empty_folders: false
93-
url_taxonomy_filters: true
94-
frontmatter:
95-
process_twig: false
96-
ignore_fields:
97-
- form
98-
- forms
6+
997
cache:
1008
enabled: true
1019
check:
10210
method: file
103-
driver: auto
104-
prefix: g
105-
purge_at: '0 4 * * *'
106-
clear_at: '0 3 * * *'
107-
clear_job_type: standard
108-
clear_images_by_default: false
109-
cli_compatibility: false
110-
lifetime: 604800
111-
purge_max_age_days: 30
112-
gzip: false
113-
allow_webserver_gzip: false
114-
redis:
115-
socket: '0'
116-
password: null
117-
database: null
118-
server: null
119-
port: null
120-
memcache:
121-
server: null
122-
port: null
123-
memcached:
124-
server: null
125-
port: null
126-
twig:
127-
cache: true
128-
debug: true
129-
auto_reload: true
130-
autoescape: true
131-
undefined_functions: true
132-
undefined_filters: true
133-
safe_functions: { }
134-
safe_filters: { }
135-
umask_fix: false
11+
13612
assets:
13713
css_pipeline: false
138-
css_pipeline_include_externals: true
139-
css_pipeline_before_excludes: true
140-
css_minify: true
141-
css_minify_windows: false
142-
css_rewrite: true
14314
js_pipeline: false
144-
js_pipeline_include_externals: true
145-
js_pipeline_before_excludes: true
146-
js_module_pipeline: false
147-
js_module_pipeline_include_externals: true
148-
js_module_pipeline_before_excludes: true
149-
js_minify: true
15015
enable_asset_timestamp: false
151-
enable_asset_sri: false
152-
collections:
153-
jquery: 'system://assets/jquery/jquery-3.x.min.js'
16+
15417
errors:
155-
display: 1
18+
display: true
15619
log: true
157-
log:
158-
handler: file
159-
syslog:
160-
facility: local6
161-
tag: grav
20+
16221
debugger:
16322
enabled: false
16423
provider: clockwork
165-
censored: false
166-
shutdown:
167-
close_connection: true
168-
twig: true
169-
images:
170-
adapter: gd
171-
default_image_quality: 85
172-
cache_all: false
173-
cache_perms: '0755'
174-
debug: false
175-
auto_fix_orientation: true
176-
seofriendly: false
177-
cls:
178-
auto_sizes: false
179-
aspect_ratio: false
180-
retina_scale: '1'
181-
defaults:
182-
loading: auto
183-
decoding: auto
184-
fetchpriority: auto
185-
watermark:
186-
image: 'system://images/watermark.png'
187-
position_y: center
188-
position_x: center
189-
scale: 33
190-
watermark_all: false
191-
media:
192-
enable_media_timestamp: false
193-
unsupported_inline_types: null
194-
allowed_fallback_types: null
195-
auto_metadata_exif: false
196-
upload_limit: 2097152
197-
session:
198-
enabled: true
199-
initialize: true
200-
timeout: 1800
201-
name: grav-site
202-
uniqueness: path
203-
secure: false
204-
secure_https: true
205-
httponly: true
206-
samesite: Lax
207-
split: true
208-
domain: null
209-
path: null
24+
21025
gpm:
21126
releases: testing
212-
official_gpm_only: true
21327
verify_peer: true
28+
21429
updates:
21530
safe_upgrade: true
216-
http:
217-
method: auto
218-
enable_proxy: true
219-
proxy_url: null
220-
proxy_cert_path: null
221-
concurrent_connections: 5
222-
verify_peer: true
223-
verify_host: true
224-
accounts:
225-
type: regular
226-
storage: file
227-
avatar: gravatar
228-
flex:
229-
cache:
230-
index:
231-
enabled: true
232-
lifetime: 60
233-
object:
234-
enabled: true
235-
lifetime: 600
236-
render:
237-
enabled: true
238-
lifetime: 600
239-
strict_mode:
240-
yaml_compat: false
241-
twig_compat: false
242-
blueprint_compat: false
31+
safe_upgrade_snapshot_limit: 5

0 commit comments

Comments
 (0)