← hugo-clarity

relocate main js scripts template

8c6a51ed721f197f714e6d9f536aae72cb4dbc5d · weru · Feb 4, 2023 15:29

Signed-off-by: weru <fromweru@gmail.com>

+1 −1 · 2 files changed

  • layouts/_default/baseof.html +1 −1
  • layouts/partials/{scripts.html => scripts/index.html} +0 −0
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 33cd0e0..8f78998 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -35,7 +35,7 @@
 
     {{- partialCached "icons" . }}
     {{- partialCached "footer" . }}
-    {{- partialCached "scripts" . }}
+    {{- partialCached "scripts/index" . }}
     {{- partialCached "hooks/body-end" . }}
   </body>
 </html>
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts/index.html
similarity index 100%
rename from layouts/partials/scripts.html
rename to layouts/partials/scripts/index.html