Add geenrated resources to be pre-cached by service worker
This commit is contained in:
@@ -4,6 +4,9 @@ const pages = [
|
||||
{{ range .Site.AllPages -}}
|
||||
"{{ .RelPermalink }}",
|
||||
{{ end -}}
|
||||
{{ range $permalink, $ok := site.Store.Get "book-sw-precache" -}}
|
||||
"{{ $permalink }}",
|
||||
{{ end -}}
|
||||
{{ end }}
|
||||
];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user