_includes/head.html in solar-flair-0.2.2 vs _includes/head.html in solar-flair-0.2.3
- old
+ new
@@ -72,23 +72,24 @@
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://use.fontawesome.com/releases/v5.0.7/css/all.css" rel="stylesheet">
{% elsif site.asset_cdn == 1 }
<link href="https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0/css/bootstrap.css" rel="stylesheet" integrity="sha384-Gn5384xqQ1aoWXA+058RXPxPg6fy4IWvTNh0E263XmFcJlSAwiGgFAW/dAiS6JXm" crossorigin="anonymous">
<link href="https://use.fontawesome.com/releases/v5.0.7/css/all.css" rel="stylesheet">
+
{% else %}
{% if jekyll.environment == "production" %}
- <link rel="stylesheet" href="{{ "/assets/bootstrap/dist/css/bootstrap.min.css" | relative_url }}" media="nope!" onload="this.media='all'">
- <link rel="stylesheet" href="{{ "/assets/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css" | relative_url }}" media="nope!" onload="this.media='all'">
+ <link async rel="preload" href="https://flair.planning.solar/assets/bootstrap/dist/css/bootstrap.min.css" as="style" onload="this.rel='stylesheet'">
+ <link async rel="preload" href="https://flair.planning.solar/assets/font-awesome/web-fonts-with-css/css/fontawesome-all.min.css" as="style" onload="this.rel='stylesheet'">
{% else %}
- <link rel="stylesheet" href="{{ "/assets/bootstrap/dist/css/bootstrap.css" | relative_url }}" media="nope!" onload="this.media='all'">
- <link rel="stylesheet" href="{{ "/assets/font-awesome/web-fonts-with-css/css/fontawesome-all.css" | relative_url }}" media="nope!" onload="this.media='all'">
+ <link rel="stylesheet" href="https://flair.planning.solar//assets/bootstrap/dist/css/bootstrap.css" media="nope!" onload="this.media='all'">
+ <link rel="stylesheet" href="https://flair.planning.solar/assets/font-awesome/web-fonts-with-css/css/fontawesome-all.css" media="nope!" onload="this.media='all'">
{% endif %}
{% endif %}
- <link rel="stylesheet" href="{{ "/assets/main.css" | relative_url }}" media="nope!" onload="this.media='all'">
+ <link async rel="preload" href="{{ "/assets/main.css" | relative_url }}" as="style" onload="this.rel='stylesheet'">
- <link rel="canonical" href="{{ site.url | replace:'index.html','' | absolute_url }}">
- <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
+ <link rel="canonical" href="{{ site.url | replace:'index.html','' | absolute_url }}">
+ <link rel="alternate" type="application/rss+xml" title="{{ site.title | escape }}" href="{{ "/feed.xml" | relative_url }}">
</head>