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 group :jekyll_plugins do
gem 'jekyll-sitemap', '1.4.0' gem 'jekyll-sitemap', '1.4.0'
gem 'jekyll-last-modified-at','1.1.0' gem 'jekyll-last-modified-at','1.1.0'
gem 'jekyll-pwa-plugin'
end end

View file

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

View file

@ -134,23 +134,23 @@ lang: en
## Colors ## Colors
plugins: # plugins:
- jekyll-pwa-plugin # - jekyll-pwa-plugin
pwa: # pwa:
enabled: false # Optional # enabled: false # Optional
sw_src_filepath: service-worker.js # Optional # sw_src_filepath: service-worker.js # Optional
sw_dest_filename: service-worker.js # Optional # sw_dest_filename: service-worker.js # Optional
dest_js_directory: assets/js # Required # dest_js_directory: assets/js # Required
precache_recent_posts_num: 5 # Optional # precache_recent_posts_num: 5 # Optional
precache_glob_directory: / # Optional # precache_glob_directory: / # Optional
precache_glob_patterns: # Optional # precache_glob_patterns: # Optional
- "assets/{js,css,fonts}/**/*.{js,css,eot,svg,ttf,woff,png,jpg,jpeg}" # - "assets/{js,css,fonts}/**/*.{js,css,eot,svg,ttf,woff,png,jpg,jpeg}"
# - "videos/*{mp4,webm}" # - "videos/*{mp4,webm}"
- "images/**/*.{svg}" # - "images/**/*.{svg}"
- "images/posts/*.{jpg,jpeg,png}" # - "images/posts/*.{jpg,jpeg,png}"
- "images/pages/*.{jpg,jpeg,png}" # - "images/pages/*.{jpg,jpeg,png}"
# - "assets/albums/**/*.{mp3,jpeg}" # - "assets/albums/**/*.{mp3,jpeg}"
- index.html # - index.html
precache_glob_ignores: # Optional # precache_glob_ignores: # Optional
- sw-register.js # - 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="icon" type="image/png" href="{{ site.url }}/touch-icon.png" sizes="192x192">
<link rel="shortcut icon" href="{{ site.url }}{{ site.icon }}" type="image/png" /> <link rel="shortcut icon" href="{{ site.url }}{{ site.icon }}" type="image/png" />
<noscript><link rel="stylesheet" href="{{ relBase }}/assets/css/noscripts-20200812.css" /></noscript> <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 }}"/> <meta name="theme-color" content="{{ site.data.colors.bg_color }}"/>
</head> </head>