Couple'a code formatting tweaks to section_css.thml and single_styles.html

This commit is contained in:
Eryn Wells 2023-04-02 10:03:11 -07:00
parent f5fd358922
commit a053e7d14d
2 changed files with 2 additions and 2 deletions

View file

@ -5,7 +5,7 @@
{{ else }}
{{ $sectionStylesheet = printf "styles/%s.css" .Section }}
{{ end }}
{{ with resources.Get $sectionStylesheet }}
{{ with resources.Get $sectionStylesheet }}
{{ $sectionCSS = . | fingerprint "md5" }}
{{ end }}
{{ return $sectionCSS }}

View file

@ -1,4 +1,4 @@
{{- range .Resources.Match "*.css" -}}
{{- $stylesheet := . | fingerprint "md5" }}
<link rel="stylesheet" href="{{ $stylesheet.RelPermalink }}"></script>
<link rel="stylesheet" href="{{ $stylesheet.RelPermalink }}">
{{- end -}}