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

refactor(pwa): revert to JS and Liquid mixing

The gem package won't be able to pass `/sw.min.js` to the user end
This commit is contained in:
Cotes Chung
2024-02-13 23:35:32 +08:00
parent 90693ff95e
commit 6b34901d94
9 changed files with 25 additions and 51 deletions

View File

@@ -50,15 +50,6 @@
{{ seo_tags }}
<!-- PWA cache settings -->
<meta
name="pwa-cache"
content="{{ site.pwa.cache.enabled | default: 'false' }}"
{%- if site.baseurl and site.baseurl != empty -%}
data-baseurl="{{ site.baseurl }}"
{%- endif -%}
>
<title>
{%- unless page.layout == 'home' -%}
{{ page.title | append: ' | ' }}