From cd156d2b6d73b3e37be15153b356ed9b404ee9f9 Mon Sep 17 00:00:00 2001 From: Eryn Wells Date: Thu, 8 Aug 2024 10:15:59 -1000 Subject: [PATCH] =?UTF-8?q?Script:=20Add=20default=20for=20the=20module=20?= =?UTF-8?q?argument=20=E2=86=92=20false?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/partials/resource_builders/script.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/resource_builders/script.html b/layouts/partials/resource_builders/script.html index 7ceaaf4..2a74c3b 100644 --- a/layouts/partials/resource_builders/script.html +++ b/layouts/partials/resource_builders/script.html @@ -17,7 +17,7 @@ looked up and built. {{- $resource := .resource -}} {{- $shouldMinify := .minify -}} -{{- $isModule := .module -}} +{{- $isModule := .module | default false -}} {{ if eq (printf "%T" $resource) "string" }} {{