From 628512345a9708205279f6e6b4ef4db7870a0304 Mon Sep 17 00:00:00 2001
From: weru <fromweru@gmail.com>
Date: Tue, 28 Feb 2023 14:34:45 +0000
Subject: [PATCH] inline js

---
 layouts/partials/scripts/getJsBundle.html |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/layouts/partials/scripts/getJsBundle.html b/layouts/partials/scripts/getJsBundle.html
index 2704875..88d763a 100644
--- a/layouts/partials/scripts/getJsBundle.html
+++ b/layouts/partials/scripts/getJsBundle.html
@@ -1,2 +1,4 @@
-{{- $bundle := .scripts | resources.Concat (printf "js/%s.js" .slug) | resources.Fingerprint "sha512" }}
-<script src="{{ $bundle.Permalink }}" async></script>
\ No newline at end of file
+{{- $bundle := .scripts | resources.Concat (printf "js/%s.js" .slug) | resources.Minify | resources.Fingerprint "sha512" }}
+<script>
+  {{ safeJS $bundle.Content }}
+</script>
\ No newline at end of file

--
Gitblit v1.10.0