mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 13:25:57 -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 charset="UTF-8">
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||||
|
|
||||||
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha256" }}
|
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
|
||||||
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}">
|
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}">
|
||||||
|
|
||||||
{{ with .Site.Params.faviconICO }}
|
{{ with .Site.Params.faviconICO }}
|
||||||
<link rel="icon" type="image/x-icon" href="{{.}}" />
|
<link rel="icon" type="image/x-icon" href="{{.}}" />
|
||||||
|
Loading…
Reference in New Issue
Block a user