feat: improve configuration (#245)
* feat: improve configuration * fix: fix partials/footer.html error
This commit is contained in:
4
layouts/partials/scratch/stylesheet.html
Normal file
4
layouts/partials/scratch/stylesheet.html
Normal file
@@ -0,0 +1,4 @@
|
||||
{{- $this := .scratch.Get "this" -}}
|
||||
{{- $stylesheet := $this.stylesheet | default slice -}}
|
||||
{{- $stylesheet = $stylesheet | append (slice .data) -}}
|
||||
{{- .scratch.SetInMap "this" "stylesheet" $stylesheet -}}
|
||||
Reference in New Issue
Block a user