Skip to content

Commit

Permalink
fix(gallery): remove css async load
Browse files Browse the repository at this point in the history
  • Loading branch information
neoFelhz committed Nov 27, 2017
1 parent f61390d commit 989f2e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions layout/_widget/page-gallery.ejs
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% if(theme.vendors.materialcdn) { %>
<link rel="preload" as="style" href="<%= theme.vendors.materialcdn + '/css/gallery.min.css' %>" onload="this.rel='stylesheet'">
<link rel="stylesheet" href="<%= theme.vendors.materialcdn + '/css/gallery.min.css' %>">
<% } else { %>
<link rel="preload" as="style" href="<%= url_for('css/gallery.min.css') %>" onload="this.rel='stylesheet'">
<link rel="stylesheet" href="<%= url_for('css/gallery.min.css') %>">
<% } %>

<body>
Expand Down

0 comments on commit 989f2e6

Please sign in to comment.