mirror of
https://github.com/yrzam/yrzam-hugo-theme.git
synced 2025-12-11 02:09:05 +00:00
change config format
This commit is contained in:
@@ -6,7 +6,7 @@
|
||||
<!-- prettier-ignore -->
|
||||
<title>{{ if not .IsHome }}{{ .LinkTitle | humanize }} - {{ end }}{{ .Site.Title }}</title>
|
||||
{{ $opts := dict "transpiler" "libsass" "targetPath" "_style.css" }}
|
||||
{{ with resources.Get "css/index.scss" | toCSS $opts | minify | fingerprint }}
|
||||
{{ with resources.Get "css/index.scss" | resources.ExecuteAsTemplate "" . | toCSS $opts | minify | fingerprint }}
|
||||
<link rel="stylesheet" href="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}" />
|
||||
{{ end }}
|
||||
{{ range resources.Match "favicon/*.png" }}
|
||||
|
||||
Reference in New Issue
Block a user