mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-12-22 12:13:19 -06:00
Add integrity field to CSS
This commit is contained in:
parent
6c819a3923
commit
8a4579007b
@ -2,8 +2,8 @@
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
|
||||
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha256" }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}">
|
||||
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
||||
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}">
|
||||
|
||||
{{ with .Site.Params.faviconICO }}
|
||||
<link rel="icon" type="image/x-icon" href="{{.}}" />
|
||||
|
Loading…
Reference in New Issue
Block a user