Update pwa cache list

This commit is contained in:
Cotes Chung 2020-12-11 23:08:57 +08:00
parent b8ee5a7b0c
commit 53a98feff3

View file

@ -26,18 +26,13 @@ const include = [
'{{ "/assets/js/home.min.js" | relative_url }}',
'{{ "/assets/js/page.min.js" | relative_url }}',
'{{ "/assets/js/post.min.js" | relative_url }}',
'{{ "/assets/js/categories.min.js" | relative_url }}',
/*--- HTML ---*/
/* Tabs */
{% for tab in site.data.tabs %}
{% capture item %}
{%- unless tab.name == 'Home' -%}
/tabs/{{ tab.name | downcase }}
{%- endunless -%}
{{- "/" -}}
{% endcapture %}
'{{ item | relative_url }}',
{% for tab in site.tabs %}
'{{ tab.url }}',
{% endfor %}
/*--- Icons ---*/