[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