hugo problem

This commit is contained in:
Kirchik
2025-08-11 19:57:50 +02:00
parent 8d3e509f92
commit a6069f7e63
2 changed files with 15 additions and 1 deletions
+2 -1
View File
@@ -40,7 +40,8 @@ Thumbs.db
gitea.pub gitea.pub
# Local development folders # Local development folders
scripts/ /scripts/
!themes/**/scripts/
telegram/ telegram/
migration-s3/ migration-s3/
INFO/ INFO/
@@ -0,0 +1,13 @@
{{ $jQuery := resources.Get "js/jquery.min.js" }}
{{ $scrollex := resources.Get "js/jquery.scrollex.min.js" }}
{{ $scrolly := resources.Get "js/jquery.scrolly.min.js" }}
{{ $browser := resources.Get "js/browser.min.js" }}
{{ $breakpoints := resources.Get "js/breakpoints.min.js" }}
{{ $util := resources.Get "js/util.js" }}
{{ $main := resources.Get "js/main.js" }}
{{ $js := slice $jQuery $scrollex $scrolly $browser $breakpoints $util $main | resources.Concat "assets/js/bundle.js" }}
<!-- Scripts -->
<script src='{{ $js.RelPermalink }}'></script>