Add style partial

This commit is contained in:
ItsDrike 2021-08-25 10:52:41 +02:00
parent bf2b352d82
commit d50b81cc05
No known key found for this signature in database
GPG key ID: B5F6B41F708C3ADD
2 changed files with 3 additions and 0 deletions

View file

@ -3,6 +3,7 @@
<head>
<meta charset="utf-8">
<title>{{ partial "title-item.html" . }}{{ .Site.Title }}</title>
{{ partial "style.html" "scss/style.scss" }}
</head>
<body>
{{ block "main" . }}{{ end }}

View file

@ -0,0 +1,2 @@
{{ $style := resources.Get . | toCSS | minify | fingerprint }}
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">