Refactor scss to minimize resulting css

This commit is contained in:
Vri 🌈 2023-01-15 00:19:35 +01:00
parent 8d154d444e
commit 190c0acf7f
Signed by: vrifox
GPG key ID: D40098E5B60B2197
23 changed files with 78 additions and 25 deletions

View file

@ -2,8 +2,7 @@
<html lang="{{ .Page.Lang }}">
<head>
<title>{{ with .Title }} {{ . }} {{ end }}{{ .Site.Title }}</title>
{{- $style := resources.Get "/style.scss" | resources.ToCSS (dict "outputStyle" "compressed") }}
<link rel="preload stylesheet" as="style" href="{{ $style.Permalink }}" type="text/css" media="screen" />
{{ block "stylesheet" . }}{{ end }}
<link href="/gpg.pub" rel="pgpkey authn" />
<link href="https://social.anoxinon.de/@vri" rel="me" />
<meta http-equiv="content-type" content="text/html; charset=UTF-8" />