26 lines
1.3 KiB
HTML
26 lines
1.3 KiB
HTML
{% assign google_fonts = site.google_fonts %}
|
|
{% capture style_url %}{{ 'assets/css/pivoine-1.0.0.css' | relative_url }}{% endcapture %}
|
|
{% capture icons_url %}{{ 'assets/icomoon/style.css' | relative_url }}{% endcapture %}
|
|
{% capture game_icons_url %}{{ 'assets/game-icons/css/game-icons.css' | relative_url }}{% endcapture %}
|
|
{% if google_fonts %}
|
|
{% capture fonts_url %}{{ site.google_fonts_url | default:'https://fonts.googleapis.com' }}/css?family={{ google_fonts | uri_escape }}&display=swap{% endcapture %}
|
|
{% endif %}
|
|
|
|
<link rel="preload" as="style" href="{{ style_url }}" id="_stylePreload" />
|
|
<link rel="preload" as="style" href="{{ icons_url }}" id="_iconsPreload" />
|
|
<link rel="preload" as="style" href="{{ game_icons_url }}" id="_gameIconsPreload" />
|
|
{% if google_fonts %}<link rel="preload" as="style" href="{{ fonts_url }}" id="_fontsPreload" />{% endif %}
|
|
|
|
<script>
|
|
setRel('_stylePreload');
|
|
setRel('_iconsPreload');
|
|
setRel('_gameIconsPreload');
|
|
/*{% if google_fonts %}*/setRel('_fontsPreload');/*{% endif %}*/
|
|
</script>
|
|
<noscript>
|
|
<link rel="stylesheet" href="{{ style_url }}" />
|
|
<link rel="stylesheet" href="{{ icons_url }}" />
|
|
<link rel="stylesheet" href="{{ game_icons_url }}" />
|
|
{% if google_fonts %}<link rel="stylesheet" href="{{ fonts_url }}" />{% endif %}
|
|
</noscript>
|