a new start
This commit is contained in:
12
_includes/head/styles-no-inline.html
Normal file
12
_includes/head/styles-no-inline.html
Normal file
@@ -0,0 +1,12 @@
|
||||
{% 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="stylesheet" href="{{ style_url }}" id="_stylePreload" />
|
||||
<link rel="stylesheet" href="{{ icons_url }}" id="_iconsPreload" />
|
||||
<link rel="stylesheet" as="style" href="{{ game_icons_url }}" id="_gameIconsPreload" />
|
||||
{% if google_fonts %}<link rel="stylesheet" href="{{ fonts_url }}" id="_fontsPreload" />{% endif %}
|
||||
Reference in New Issue
Block a user