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