mirror of
https://github.com/Brandon-Rozek/website-theme.git
synced 2024-11-09 10:50:34 -05:00
Add integrity to main CSS
This commit is contained in:
parent
e7a39ea0aa
commit
112af37a8f
1 changed files with 1 additions and 1 deletions
|
@ -17,7 +17,7 @@
|
||||||
{{ $markdown := resources.Get "css/markdown.css" }}
|
{{ $markdown := resources.Get "css/markdown.css" }}
|
||||||
{{ $syntaxHighlight := resources.Get "css/syntax-highlight.css" }}
|
{{ $syntaxHighlight := resources.Get "css/syntax-highlight.css" }}
|
||||||
{{ $css := slice $style $markdown $syntaxHighlight | resources.Concat "style.css" | resources.Minify | resources.Fingerprint }}
|
{{ $css := slice $style $markdown $syntaxHighlight | resources.Concat "style.css" | resources.Minify | resources.Fingerprint }}
|
||||||
<link rel="stylesheet" href="{{ $css.Permalink }}">
|
<link rel="stylesheet" href="{{ $css.Permalink }}" integrity="{{ $css.Data.Integrity }}">
|
||||||
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.8.1/css/all.css" integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf" crossorigin="anonymous">
|
||||||
|
|
||||||
<!-- custom css -->
|
<!-- custom css -->
|
||||||
|
|
Loading…
Reference in a new issue