From afceecf9fb6f5a5f1c23c2484a4b0531649ec999 Mon Sep 17 00:00:00 2001 From: Maxime Lerouge Date: Tue, 20 Feb 2024 15:52:49 +0100 Subject: [PATCH 1/2] Update theme.liquid - fix theme check warnings Fix: Theme Check Summary 41 files inspected with 3 total offenses found across 1 files. 3 warnings. --- shopify/layout/theme.liquid | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/shopify/layout/theme.liquid b/shopify/layout/theme.liquid index 96868b2e..de0f1c6c 100644 --- a/shopify/layout/theme.liquid +++ b/shopify/layout/theme.liquid @@ -6,11 +6,11 @@ - - + {{ 'bundle.css' | asset_url | preload_tag }} + {{ 'bundle.js' | asset_url | preload_tag }} {% if settings.favicon %} - + {% endif %} {{ page_title | escape }} @@ -39,4 +39,4 @@ - \ No newline at end of file + From 9a7e4e8420b58dd03b4713134e5fe1881b2b336b Mon Sep 17 00:00:00 2001 From: Maxime Lerouge Date: Tue, 20 Feb 2024 16:11:42 +0100 Subject: [PATCH 2/2] Update theme.liquid --- shopify/layout/theme.liquid | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shopify/layout/theme.liquid b/shopify/layout/theme.liquid index de0f1c6c..7645a1ef 100644 --- a/shopify/layout/theme.liquid +++ b/shopify/layout/theme.liquid @@ -6,8 +6,8 @@ - {{ 'bundle.css' | asset_url | preload_tag }} - {{ 'bundle.js' | asset_url | preload_tag }} + {{ 'bundle.css' | asset_url | preload_tag: as 'style' }} + {{ 'bundle.js' | asset_url | preload_tag: as 'script' }} {% if settings.favicon %}