Use with in head.html and add code block section to CSS

This commit is contained in:
2021-10-10 19:36:47 -05:00
parent ddbcaa6d56
commit 9ff5314bc0
2 changed files with 10 additions and 6 deletions

View File

@ -3,8 +3,9 @@
<meta name="viewport" content="width=device-width, initial-scale=1">
{{ hugo.Generator }}
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}">
{{ with resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ .Permalink }}" integrity="{{ .Data.Integrity }}">
{{ end }}
{{ with .Site.Params.faviconICO }}
<link rel="icon" type="image/x-icon" href="{{.}}" />