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/home.min.js" | relative_url }}',
'{{ "/assets/js/page.min.js" | relative_url }}', '{{ "/assets/js/page.min.js" | relative_url }}',
'{{ "/assets/js/post.min.js" | relative_url }}', '{{ "/assets/js/post.min.js" | relative_url }}',
'{{ "/assets/js/categories.min.js" | relative_url }}',
/*--- HTML ---*/ /*--- HTML ---*/
/* Tabs */ /* Tabs */
{% for tab in site.data.tabs %} {% for tab in site.tabs %}
{% capture item %} '{{ tab.url }}',
{%- unless tab.name == 'Home' -%}
/tabs/{{ tab.name | downcase }}
{%- endunless -%}
{{- "/" -}}
{% endcapture %}
'{{ item | relative_url }}',
{% endfor %} {% endfor %}
/*--- Icons ---*/ /*--- Icons ---*/