Skip to content

Commit f20a621

Browse files
minimize on npm run serve
1 parent 1cf0a5e commit f20a621

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/paddle-checkout/single.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h3 class="font-headline text-lg md:text-xl leading-relaxed mb-4">{{ ":+1:" | em
2121
</div>
2222
{{ end }}
2323
{{ define "script" }}
24-
{{ if hugo.IsServer }}
24+
{{ if hugo.IsDevelopment }}
2525
{{ $paddleCheckoutJs := resources.Get "js/paddlecheckout.js" }}
2626
<script type="text/javascript" src="{{ $paddleCheckoutJs.RelPermalink }}" defer></script>
2727
{{ else }}

0 commit comments

Comments
 (0)