From 8105b0e16bdb531d9fdd7055d01a872a8f1df459 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 14 Nov 2024 08:49:52 -0800 Subject: [PATCH] Improve the handling of whitespace in template code resource-builders: Update submodule commit --- layouts/partials/base/body-extras.html | 8 ++++---- themes/resource-builders | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/layouts/partials/base/body-extras.html b/layouts/partials/base/body-extras.html index 0adf8d7..a8490f6 100644 --- a/layouts/partials/base/body-extras.html +++ b/layouts/partials/base/body-extras.html @@ -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 -}} diff --git a/themes/resource-builders b/themes/resource-builders index 73e3cec..31acd82 160000 --- a/themes/resource-builders +++ b/themes/resource-builders @@ -1 +1 @@ -Subproject commit 73e3cec7117f3a061554f7a9799285a97a284a22 +Subproject commit 31acd82fd86eed8cda5642204ae34f03d0fa8d43