1
0
mirror of https://github.com/cotes2020/jekyll-theme-chirpy.git synced 2025-12-18 05:41:31 +00:00

Improve the SW cache list

This commit is contained in:
Cotes Chung
2022-02-03 01:31:53 +08:00
parent 7a392510e6
commit 2c5e67f02b
3 changed files with 22 additions and 25 deletions

View File

@@ -121,8 +121,7 @@ collections:
sort_by: order
defaults:
-
scope:
- scope:
path: '' # An empty string here means all files in the project
type: posts
values:
@@ -132,18 +131,24 @@ defaults:
# DO NOT modify the following parameter unless you are confident enough
# to update the code of all other post links in this project.
permalink: /posts/:title/
-
scope:
- scope:
path: _drafts
values:
comments: false
-
scope:
- scope:
path: ''
type: tabs # see `site.collections`
values:
layout: page
permalink: /:title/
- scope:
path: assets/img/favicons
values:
swcache: true
- scope:
path: assets/js/dist
values:
swcache: true
sass:
style: compressed