diff options
author | zilch40 <wlh233@live.com> | 2020-11-16 15:31:39 +0300 |
---|---|---|
committer | zilch40 <wlh233@live.com> | 2020-11-16 15:31:39 +0300 |
commit | 871470c4cd13a02e947680864574a84eae246cf0 (patch) | |
tree | 8414d26b020681fa0b05384c28bccc08d69e4e4b /layouts/partials/pwa.html | |
parent | 88fb497815279a64bbfe38e7cdd1676a2b683b77 (diff) |
add PWA support && tweak some pages
Diffstat (limited to 'layouts/partials/pwa.html')
-rw-r--r-- | layouts/partials/pwa.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/pwa.html b/layouts/partials/pwa.html new file mode 100644 index 0000000..0884273 --- /dev/null +++ b/layouts/partials/pwa.html @@ -0,0 +1,3 @@ +{{ $pwafile := resources.Get "js/pwa.js" }} +{{ $pwa := $pwafile | resources.ExecuteAsTemplate "js/pwa.js" . | resources.Minify }} +<script src="{{ $pwa.Permalink | relURL }}"></script> |