We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3657cf5 commit 8083d1cCopy full SHA for 8083d1c
layouts/_partials/pwa.html
@@ -1,4 +1,5 @@
1
-{{- $pwa := .Scratch.Get "pwa" -}}
+{{- $pwa := dict "version" now.Unix -}}
2
+{{- .Scratch.Set "pwa" $pwa -}}
3
<script>
4
if ('serviceWorker' in navigator) {
5
navigator.serviceWorker
0 commit comments