gpg + fingerprint css file

This commit is contained in:
2022-04-11 23:35:01 +03:00
parent d9701e160b
commit e26a783b6f
4 changed files with 132 additions and 1 deletions

View File

@@ -6,7 +6,8 @@
<base href="{{ .Site.BaseURL }}">
{{ partial "html-meta.html" . -}}
<title>{{ if not .IsHome }}{{ .Title }} - {{ end }}{{ .Site.Title }}</title>
<link rel="stylesheet" type="text/css" href="{{ "/css/main.css" | relURL }}">
{{ $ss := resources.Get "css/main.css" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
<link rel="stylesheet" href="{{ $ss.Permalink }}">
{{ with .Site.Params.favicon -}}
<link rel="shortcut icon" href="{{ . }}" type="image/x-icon">
{{ end -}}