-
-
Notifications
You must be signed in to change notification settings - Fork 6
/
hugo.toml
53 lines (42 loc) · 981 Bytes
/
hugo.toml
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
[module]
[module.hugoVersion]
extended = true
min = "0.110.0"
[outputFormats]
[outputFormats.Offline]
path = "offline"
baseName = "index"
isHTML = true
notAlternative = true
mediaType = "text/html"
[[module.imports]]
path = "github.com/hugomods/icons/vendors/bootstrap"
[[module.imports]]
path = "github.com/hugomods/workbox"
[params.hugopress.modules.pwa.hooks.head-begin]
cacheable = true
[params.hugopress.modules.pwa.hooks.body-end]
cacheable = true
[params.pwa]
debug = false
icon_path = "images/pwa/icon.png"
icon_sizes = [192, 512]
offline_image = "images/pwa/offline.png"
# [[params.pwa.precaches]]
# url = ""
[params.pwa.caches.font]
strategy = "cache-first"
origins = []
max_age = 2592000 # 30d
[params.pwa.caches.image]
strategy = "cache-first"
origins = []
max_age = 2592000 # 30d
[params.pwa.caches.script]
strategy = "cache-first"
origins = []
max_age = 2592000 # 30d
[params.pwa.caches.style]
strategy = "cache-first"
origins = []
max_age = 2592000 # 30d