Couple'a code formatting tweaks to section_css.thml and single_styles.html
This commit is contained in:
parent
f5fd358922
commit
a053e7d14d
2 changed files with 2 additions and 2 deletions
|
@ -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 }}
|
||||
|
|
|
@ -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 -}}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue