_includes/header.html in askclass-news-theme-0.4.3 vs _includes/header.html in askclass-news-theme-0.5.0

- old
+ new

@@ -1,12 +1,12 @@ <head> {% include head/meta.html %} {% include head/common.html %} - {% include head/pwaupdate.html %} {% if page.collection == 'posts' %} - <link href="{{ 'assets/css/md.css' | relative_url }}" rel="stylesheet" /> + <link rel="preload" as="style" href="{{ 'assets/css/md.css' | relative_url }}" + onload='this.onload=null;this.rel="stylesheet"' /> {% else %} - <link href="{{ 'assets/css/grid.css' | relative_url }}" rel="stylesheet" /> - <link href="{{ 'assets/css/tab.css' | relative_url }}" rel="stylesheet" /> + <link rel="stylesheet" href="{{ 'assets/css/grid.css' | relative_url }}" /> + <link rel="stylesheet" href="{{ 'assets/css/tab.css' | relative_url }}" /> {% endif %} - <link href="{{ 'assets/css/style.css' | relative_url }}" rel="stylesheet" /> + <link rel="stylesheet" href="{{ 'assets/css/style.css' | relative_url }}" /> </head>