Skip to content

Commit

Permalink
add PWA to head.html
Browse files Browse the repository at this point in the history
  • Loading branch information
bigsk1 committed Jan 27, 2024
1 parent 7f737ac commit c7413c9
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,15 @@

{{ 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: ' | ' }}
Expand Down

0 comments on commit c7413c9

Please sign in to comment.