Use the global .Hugo variable instead of the Page one

This commit is contained in:
BBaoVanC 2021-10-09 18:53:22 -05:00
parent 98587c94ae
commit f062a98a75
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A

View File

@ -1,7 +1,7 @@
<head> <head>
<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">
{{ .Hugo.Generator }} {{ $.Hugo.Generator }}
{{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }} {{ $bobastyle := resources.Get "css/bobastyle.css" | fingerprint "sha512" }}
<link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}"> <link rel="stylesheet" type="text/css" href="{{ $bobastyle.Permalink }}" integrity="{{ $bobastyle.Data.Integrity }}">