Skip to content

Commit

Permalink
Changes to Merchant Asset URLs
Browse files Browse the repository at this point in the history
  • Loading branch information
Miguel Montalvo committed Jun 9, 2023
1 parent 83872ef commit a14804a
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions layout/theme.liquid
Original file line number Diff line number Diff line change
Expand Up @@ -6,16 +6,11 @@
<meta name="viewport" content="width=device-width,initial-scale=1">
<meta name="theme-color" content="">
<link rel="canonical" href="{{ canonical_url }}">
<link rel="preconnect" href="https://cdn.shopify.com" crossorigin>

{%- if settings.favicon != blank -%}
<link rel="icon" type="image/png" href="{{ settings.favicon | image_url: width: 32, height: 32 }}">
{%- endif -%}

{%- unless settings.type_header_font.system? and settings.type_body_font.system? -%}
<link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin>
{%- endunless -%}

{%- unless settings.type_body_font.system? -%}
<link rel="preload" as="font" href="{{ settings.type_body_font | font_url }}" type="font/woff2" crossorigin>

Check warning on line 15 in layout/theme.liquid

View workflow job for this annotation

GitHub Actions / Theme Check Report

layout/theme.liquid#L15

[AssetPreload] For better performance, prefer using the preload_tag filter
{%- endunless -%}
Expand Down

0 comments on commit a14804a

Please sign in to comment.