2020-05-09 19:28:18 +03:00
|
|
|
---
|
2020-05-29 19:48:10 +03:00
|
|
|
layout: compress
|
|
|
|
|
2020-05-09 19:28:18 +03:00
|
|
|
# The list to be cached by PWA
|
|
|
|
---
|
|
|
|
|
2020-05-11 20:01:12 +03:00
|
|
|
const include = [
|
2021-03-21 10:55:04 +03:00
|
|
|
/* --- CSS --- */
|
2020-05-09 19:28:18 +03:00
|
|
|
|
2021-01-23 10:07:18 +03:00
|
|
|
'{{ "/assets/css/style.css" | relative_url }}',
|
2020-05-09 19:28:18 +03:00
|
|
|
|
2021-03-21 10:55:04 +03:00
|
|
|
/* --- Javascripts --- */
|
2021-01-23 10:07:18 +03:00
|
|
|
'{{ "/assets/js/dist/home.min.js" | relative_url }}',
|
|
|
|
'{{ "/assets/js/dist/page.min.js" | relative_url }}',
|
|
|
|
'{{ "/assets/js/dist/post.min.js" | relative_url }}',
|
|
|
|
'{{ "/assets/js/dist/categories.min.js" | relative_url }}',
|
2021-03-21 10:55:04 +03:00
|
|
|
'{{ "/assets/js/data/search.json" | relative_url }}',
|
|
|
|
'{{ "/app.js" | relative_url }}',
|
|
|
|
'{{ "/sw.js" | relative_url }}',
|
2020-05-09 19:28:18 +03:00
|
|
|
|
2021-03-21 10:55:04 +03:00
|
|
|
/* --- HTML --- */
|
2021-03-23 10:42:10 +03:00
|
|
|
'{{ "/index.html" | relative_url }}',
|
|
|
|
'{{ "/404.html" | relative_url }}',
|
2020-12-11 18:08:57 +03:00
|
|
|
{% for tab in site.tabs %}
|
|
|
|
'{{ tab.url }}',
|
2020-05-09 19:28:18 +03:00
|
|
|
{% endfor %}
|
2021-03-23 10:42:10 +03:00
|
|
|
|
2020-05-09 19:28:18 +03:00
|
|
|
|
2021-03-21 10:55:04 +03:00
|
|
|
/* --- Icons --- */
|
2020-05-09 19:28:18 +03:00
|
|
|
|
|
|
|
{%- capture icon_url -%}
|
|
|
|
{{ "/assets/img/favicons" | relative_url }}
|
|
|
|
{%- endcapture -%}
|
|
|
|
'{{ icon_url }}/favicon.ico',
|
|
|
|
'{{ icon_url }}/apple-icon.png',
|
|
|
|
'{{ icon_url }}/apple-icon-precomposed.png',
|
|
|
|
'{{ icon_url }}/apple-icon-57x57.png',
|
|
|
|
'{{ icon_url }}/apple-icon-60x60.png',
|
|
|
|
'{{ icon_url }}/apple-icon-72x72.png',
|
|
|
|
'{{ icon_url }}/apple-icon-76x76.png',
|
|
|
|
'{{ icon_url }}/apple-icon-114x114.png',
|
|
|
|
'{{ icon_url }}/apple-icon-120x120.png',
|
|
|
|
'{{ icon_url }}/apple-icon-144x144.png',
|
|
|
|
'{{ icon_url }}/apple-icon-152x152.png',
|
|
|
|
'{{ icon_url }}/apple-icon-180x180.png',
|
|
|
|
'{{ icon_url }}/android-icon-192x192.png',
|
|
|
|
'{{ icon_url }}/favicon-32x32.png',
|
|
|
|
'{{ icon_url }}/favicon-96x96.png',
|
|
|
|
'{{ icon_url }}/favicon-16x16.png',
|
|
|
|
'{{ icon_url }}/ms-icon-144x144.png',
|
|
|
|
'{{ icon_url }}/manifest.json',
|
2021-03-21 10:55:04 +03:00
|
|
|
'{{ icon_url }}/browserconfig.xml'
|
2020-05-09 19:28:18 +03:00
|
|
|
];
|
2020-05-11 20:01:12 +03:00
|
|
|
|
|
|
|
const exclude = [
|
2021-04-06 09:05:55 +03:00
|
|
|
{%- if site.google_analytics.pv.proxy_endpoint -%}
|
|
|
|
'https://{{ site.google_analytics.pv.proxy_endpoint | replace: "https://", "" | split: "/" | first }}',
|
2020-07-12 17:59:05 +03:00
|
|
|
{%- endif -%}
|
2021-04-06 09:05:55 +03:00
|
|
|
'https://img.shields.io',
|
|
|
|
'/assets/js/data/pageviews.json'
|
2020-05-11 20:01:12 +03:00
|
|
|
];
|