aboutsummaryrefslogtreecommitdiffhomepage
path: root/template/html/common/layout.html
diff options
context:
space:
mode:
authorGravatar Frédéric Guillot <fred@miniflux.net>2018-07-15 21:51:09 -0700
committerGravatar Frédéric Guillot <fred@miniflux.net>2018-07-15 21:51:09 -0700
commit6aa02680d80709d714672dd842dc3dc2533339fe (patch)
treed6cf7b40e5662983fd3132630417aa91a1a35c15 /template/html/common/layout.html
parentc926498d3d12f4e59c5fe0cd40a77c42d15c30b9 (diff)
Add service worker to cache feed icons
Diffstat (limited to 'template/html/common/layout.html')
-rw-r--r--template/html/common/layout.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/template/html/common/layout.html b/template/html/common/layout.html
index 5e07794..90df2f9 100644
--- a/template/html/common/layout.html
+++ b/template/html/common/layout.html
@@ -29,7 +29,9 @@
{{ else }}
<link rel="stylesheet" type="text/css" href="{{ route "stylesheet" "name" "default" }}">
{{ end }}
- <script type="text/javascript" src="{{ route "javascript" }}" defer></script>
+
+ <script type="text/javascript" src="{{ route "javascript" "name" "app" }}" defer></script>
+ <script type="text/javascript" src="{{ route "javascript" "name" "sw" }}" defer id="service-worker-script"></script>
</head>
<body data-entries-status-url="{{ route "updateEntriesStatus" }}">
{{ if .user }}