Files
season/layout/theme.liquid
T
2026-09-25 13:26:23 -06:00

37 lines
1.0 KiB
Plaintext

<!doctype html>
<html lang="{{ request.locale.iso_code }}">
<head>
{% # Inlined CSS Variables %}
{% render 'css-variables' %}
{% comment %}
Font preloading:
1. Preconnect to font CDN for faster connection
2. Preload only the critical font variant (base weight)
3. Additional variants load on-demand via @font-face
{% endcomment %}
{% unless settings.type_primary_font.system? %}
<link rel="preconnect" href="https://fonts.shopifycdn.com" crossorigin>
{% comment %} Preload the base font variant for initial page render {% endcomment %}
{{ settings.type_primary_font | font_url | preload_tag: as: 'font', crossorigin: 'anonymous' }}
{% endunless %}
{% # Load and preload the critical CSS %}
{{ 'critical.css' | asset_url | stylesheet_tag: preload: true }}
{% # Social, title, etc. %}
{% render 'meta-tags' %}
{{ content_for_header }}
</head>
<body>
{% sections 'header-group' %}
{{ content_for_layout }}
{% sections 'footer-group' %}
</body>
</html>