From 0052959c5e9eeb0a6876cf9319a1459f8c94e8df Mon Sep 17 00:00:00 2001 From: Set Hallstrom Date: Wed, 12 Aug 2020 17:38:36 +0200 Subject: [PATCH] remove PWA --- Gemfile | 1 - Gemfile.lock | 2 -- _config.yml | 38 ++++++++++++------------- _layouts/default.html | 2 +- manifest.json => _manifest.json | 0 service-worker.js => _service-worker.js | 0 6 files changed, 20 insertions(+), 23 deletions(-) rename manifest.json => _manifest.json (100%) rename service-worker.js => _service-worker.js (100%) diff --git a/Gemfile b/Gemfile index 7ec2ad8..fe8d471 100644 --- a/Gemfile +++ b/Gemfile @@ -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 diff --git a/Gemfile.lock b/Gemfile.lock index 63303e0..d34842b 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -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 diff --git a/_config.yml b/_config.yml index b506511..07a4223 100644 --- a/_config.yml +++ b/_config.yml @@ -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 diff --git a/_layouts/default.html b/_layouts/default.html index db30f80..d3c030d 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -16,7 +16,7 @@ - + diff --git a/manifest.json b/_manifest.json similarity index 100% rename from manifest.json rename to _manifest.json diff --git a/service-worker.js b/_service-worker.js similarity index 100% rename from service-worker.js rename to _service-worker.js