Skip to content

Commit ffca541

Browse files
authored
Merge pull request #132 from stedman/master
Move differential scripts to head to improve performance
2 parents 903f6a0 + 98571c1 commit ffca541

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

_layouts/base.liquid

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
<link rel="icon" type="image/png" href="{{ '/assets/icon/favicon-android.png' | url }}" sizes="192x192">
1717
<link rel="icon" type="image/png" href="{{ '/assets/icon/favicon.png' | url }}" sizes="32x32">
1818
<link rel="stylesheet" href="{{ '/assets/css/main.css' | url }}">
19+
<script type="module" src="https://unpkg.com/ionicons@5.0.0/dist/ionicons/ionicons.esm.js"></script>
20+
<script nomodule="" src="https://unpkg.com/ionicons@5.0.0/dist/ionicons/ionicons.js"></script>
1921
</head>
2022
<body>
2123
<header class="page-header hero is-primary">
@@ -114,6 +116,5 @@
114116
{%- if app.environment != 'dev' -%}
115117
{%- include ga.html -%}
116118
{%- endif -%}
117-
<script src="https://unpkg.com/ionicons@5.0.0/dist/ionicons.js"></script>
118119
</body>
119120
</html>

0 commit comments

Comments
 (0)