diff --git a/layouts/partials/js.html b/layouts/partials/js.html
index e69de29..dbbe445 100644
--- a/layouts/partials/js.html
+++ b/layouts/partials/js.html
@@ -0,0 +1,5 @@
+{{ $main := resources.Get "js/main.js" }}
+{{ with $main }}
+{{ $js := . | resources.Minify }}
+
+{{ end }}