tables js refactoring

This commit is contained in:
trean
2026-03-11 23:33:56 +01:00
parent a08a0ac8b1
commit 949bd1b227
3 changed files with 90 additions and 144 deletions
@@ -49,6 +49,11 @@
{{ $indexJs := resources.Get "/js/index.js" | js.Build | minify | resources.Fingerprint "sha512" }}
<script src="{{ $indexJs.RelPermalink }}"></script>
{{ if eq .Section "pricing" }}
{{ $pricingTableJs := resources.Get "/js/pricing-table.js" | js.Build | minify | resources.Fingerprint "sha512" }}
<script src="{{ $pricingTableJs.RelPermalink }}"></script>
{{ end }}
{{ if .IsHome }}
{{ $homeAnimationsJs := resources.Get "/js/home-animations.js" | js.Build | minify | resources.Fingerprint "sha512" }}
<script src="{{ $homeAnimationsJs.RelPermalink }}"></script>