Skip to content

Commit 77e0c00

Browse files
committed
use self-hosted fontawesome into the template
1 parent 725db59 commit 77e0c00

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

_layouts/bootstrap4.html

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,15 +25,13 @@
2525
'self'
2626
'unsafe-inline'
2727
https://stackpath.bootstrapcdn.com
28-
https://use.fontawesome.com
2928
;
3029
script-src
3130
'self'
3231
'unsafe-eval'
3332
https://code.jquery.com
3433
https://cdnjs.cloudflare.com
3534
https://stackpath.bootstrapcdn.com
36-
https://use.fontawesome.com
3735
https://www.google-analytics.com
3836
;
3937
">
@@ -44,7 +42,7 @@
4442

4543
<!-- Stylesheets -->
4644
<!-- Font Awesome -->
47-
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.1.1/css/all.css" integrity="sha384-O8whS3fhG2OnA5Kas0Y9l3cfpmYjapjI0E4theH4iuMD+pLhbf6JI0jIMfYcK3yZ" crossorigin="anonymous">
45+
<link rel="stylesheet" href="{{ '/assets/fontawesome-free/css/all.css' | relative_url }}"/>
4846
<!-- Bootstrap CSS and own styles -->
4947
<link rel="stylesheet" type="text/css" href="{{ '/assets/css/style.css' | relative_url }}"/>
5048

@@ -122,8 +120,7 @@ <h1>{{ page.title }}</h1>
122120
<script src="{{ '/assets/js/app.js' | relative_url }}"></script>
123121
{% endif %}
124122
<!-- Font Awesome -->
125-
<!--<script src="https://use.fontawesome.com/2dbb7b4a28.js" async></script>-->
126-
<script defer src="https://use.fontawesome.com/releases/v5.1.1/js/all.js" integrity="sha384-BtvRZcyfv4r0x/phJt9Y9HhnN5ur1Z+kZbKVgzVBAlQZX4jvAuImlIz+bG7TS00a" crossorigin="anonymous"></script>
123+
<script defer src="{{ '/assets/fontawesome-free/js/all.js' | relative_url }}"></script>
127124
<!-- Bootstrap initialisation -->
128125
<script src="{{ '/assets/js/bootstrap.js' | relative_url }}" async></script>
129126
<!-- Google Analytics -->

0 commit comments

Comments
 (0)