remove PWA

This commit is contained in:
Set Hallstrom 2020-08-12 17:38:36 +02:00
parent 0a56ed8428
commit 0052959c5e
6 changed files with 20 additions and 23 deletions

View File

@ -5,5 +5,4 @@ gem 'jekyll', '4.1.1'
group :jekyll_plugins do
gem 'jekyll-sitemap', '1.4.0'
gem 'jekyll-last-modified-at','1.1.0'
gem 'jekyll-pwa-plugin'
end

View File

@ -32,7 +32,6 @@ GEM
jekyll-last-modified-at (1.1.0)
jekyll (>= 3.7, < 5.0)
posix-spawn (~> 0.3.9)
jekyll-pwa-plugin (2.2.3)
jekyll-sass-converter (2.1.0)
sassc (> 2.0.1, < 3.0)
jekyll-sitemap (1.4.0)
@ -70,7 +69,6 @@ PLATFORMS
DEPENDENCIES
jekyll (= 4.1.1)
jekyll-last-modified-at (= 1.1.0)
jekyll-pwa-plugin
jekyll-sitemap (= 1.4.0)
BUNDLED WITH

View File

@ -134,23 +134,23 @@ lang: en
## Colors
plugins:
- jekyll-pwa-plugin
# plugins:
# - jekyll-pwa-plugin
pwa:
enabled: false # Optional
sw_src_filepath: service-worker.js # Optional
sw_dest_filename: service-worker.js # Optional
dest_js_directory: assets/js # Required
precache_recent_posts_num: 5 # Optional
precache_glob_directory: / # Optional
precache_glob_patterns: # Optional
- "assets/{js,css,fonts}/**/*.{js,css,eot,svg,ttf,woff,png,jpg,jpeg}"
# - "videos/*{mp4,webm}"
- "images/**/*.{svg}"
- "images/posts/*.{jpg,jpeg,png}"
- "images/pages/*.{jpg,jpeg,png}"
# - "assets/albums/**/*.{mp3,jpeg}"
- index.html
precache_glob_ignores: # Optional
- sw-register.js
# pwa:
# enabled: false # Optional
# sw_src_filepath: service-worker.js # Optional
# sw_dest_filename: service-worker.js # Optional
# dest_js_directory: assets/js # Required
# precache_recent_posts_num: 5 # Optional
# precache_glob_directory: / # Optional
# precache_glob_patterns: # Optional
# - "assets/{js,css,fonts}/**/*.{js,css,eot,svg,ttf,woff,png,jpg,jpeg}"
# - "videos/*{mp4,webm}"
# - "images/**/*.{svg}"
# - "images/posts/*.{jpg,jpeg,png}"
# - "images/pages/*.{jpg,jpeg,png}"
# - "assets/albums/**/*.{mp3,jpeg}"
# - index.html
# precache_glob_ignores: # Optional
# - sw-register.js

View File

@ -16,7 +16,7 @@
<link rel="icon" type="image/png" href="{{ site.url }}/touch-icon.png" sizes="192x192">
<link rel="shortcut icon" href="{{ site.url }}{{ site.icon }}" type="image/png" />
<noscript><link rel="stylesheet" href="{{ relBase }}/assets/css/noscripts-20200812.css" /></noscript>
<link rel="manifest" href="/manifest.json" />
<meta name="theme-color" content="{{ site.data.colors.bg_color }}"/>
</head>