Improve the handling of whitespace in template code

resource-builders: Update submodule commit
This commit is contained in:
Eryn Wells 2024-11-14 08:49:52 -08:00
parent 122e55b1fa
commit 8105b0e16b
2 changed files with 5 additions and 5 deletions

View file

@ -1,4 +1,4 @@
{{ if .HasShortcode "rubiks/scrambler" }}
{{ partial "rubiks/scrambler-template.html" . }}
{{ partial "resource_builders/script.html" (dict "resource" "scripts/rubiks/scrambler.js") }}
{{ end }}
{{- if .HasShortcode "rubiks/scrambler" }}
{{- partial "rubiks/scrambler-template.html" . -}}
{{- partial "resource_builders/script.html" (dict "resource" "scripts/rubiks/scrambler.js") -}}
{{- end -}}

@ -1 +1 @@
Subproject commit 73e3cec7117f3a061554f7a9799285a97a284a22
Subproject commit 31acd82fd86eed8cda5642204ae34f03d0fa8d43