mirror of
https://github.com/ItsDrike/itsdrike.com.git
synced 2024-11-09 21:49:41 +00:00
Add style partial
This commit is contained in:
parent
bf2b352d82
commit
d50b81cc05
|
@ -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 }}
|
||||
|
|
2
layouts/partials/style.html
Normal file
2
layouts/partials/style.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{ $style := resources.Get . | toCSS | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ $style.RelPermalink }}" integrity="{{ $style.Data.Integrity }}">
|
Loading…
Reference in a new issue