diff --git a/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json b/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json deleted file mode 100644 index 7edad7e..0000000 --- a/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"styles/main.min.88e4a525bef0c5911f208d47535e56f02a7e2658dd19eaab52840dde669f1dd3.css","MediaType":"text/css","Data":{"Integrity":"sha256-iOSlJb7wxZEfII1HU15W8Cp+JljdGeqrUoQN3mafHdM="}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.content b/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.content similarity index 100% rename from exampleSite/resources/_gen/assets/sass/de/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.content rename to exampleSite/resources/_gen/assets/sass/de/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.content diff --git a/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json b/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json new file mode 100644 index 0000000..94dbfd2 --- /dev/null +++ b/exampleSite/resources/_gen/assets/sass/de/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json @@ -0,0 +1 @@ +{"Target":"css/main.min.88e4a525bef0c5911f208d47535e56f02a7e2658dd19eaab52840dde669f1dd3.css","MediaType":"text/css","Data":{"Integrity":"sha256-iOSlJb7wxZEfII1HU15W8Cp+JljdGeqrUoQN3mafHdM="}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json b/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json deleted file mode 100644 index 7edad7e..0000000 --- a/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"styles/main.min.88e4a525bef0c5911f208d47535e56f02a7e2658dd19eaab52840dde669f1dd3.css","MediaType":"text/css","Data":{"Integrity":"sha256-iOSlJb7wxZEfII1HU15W8Cp+JljdGeqrUoQN3mafHdM="}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.content b/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.content similarity index 100% rename from exampleSite/resources/_gen/assets/sass/es/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.content rename to exampleSite/resources/_gen/assets/sass/es/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.content diff --git a/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json b/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json new file mode 100644 index 0000000..94dbfd2 --- /dev/null +++ b/exampleSite/resources/_gen/assets/sass/es/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json @@ -0,0 +1 @@ +{"Target":"css/main.min.88e4a525bef0c5911f208d47535e56f02a7e2658dd19eaab52840dde669f1dd3.css","MediaType":"text/css","Data":{"Integrity":"sha256-iOSlJb7wxZEfII1HU15W8Cp+JljdGeqrUoQN3mafHdM="}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/assets/sass/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json b/exampleSite/resources/_gen/assets/sass/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json deleted file mode 100644 index 7edad7e..0000000 --- a/exampleSite/resources/_gen/assets/sass/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.json +++ /dev/null @@ -1 +0,0 @@ -{"Target":"styles/main.min.88e4a525bef0c5911f208d47535e56f02a7e2658dd19eaab52840dde669f1dd3.css","MediaType":"text/css","Data":{"Integrity":"sha256-iOSlJb7wxZEfII1HU15W8Cp+JljdGeqrUoQN3mafHdM="}} \ No newline at end of file diff --git a/exampleSite/resources/_gen/assets/sass/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.content b/exampleSite/resources/_gen/assets/sass/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.content similarity index 100% rename from exampleSite/resources/_gen/assets/sass/sass/style.sass_135a72a3e4d9565ea28981b945b9b151.content rename to exampleSite/resources/_gen/assets/sass/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.content diff --git a/exampleSite/resources/_gen/assets/sass/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json b/exampleSite/resources/_gen/assets/sass/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json new file mode 100644 index 0000000..94dbfd2 --- /dev/null +++ b/exampleSite/resources/_gen/assets/sass/sass/style.sass_ed49e085717c1c90f2122c5f5731b8cc.json @@ -0,0 +1 @@ +{"Target":"css/main.min.88e4a525bef0c5911f208d47535e56f02a7e2658dd19eaab52840dde669f1dd3.css","MediaType":"text/css","Data":{"Integrity":"sha256-iOSlJb7wxZEfII1HU15W8Cp+JljdGeqrUoQN3mafHdM="}} \ No newline at end of file diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html index e3533d4..77fa926 100644 --- a/layouts/partials/footer/scripts.html +++ b/layouts/partials/footer/scripts.html @@ -1,5 +1,5 @@ -{{ $jQuery := resources.Get "vendor/jquery/jquery-3.3.1.min.js" }} -{{ $index := resources.Get "js/index.js" | minify }} +{{ $jQuery := resources.Get "/vendor/jquery/jquery-3.3.1.min.js" }} +{{ $index := resources.Get "/js/index.js" | minify }} {{ $scripts := slice $jQuery $index | resources.Concat "/js/bundle.js" | fingerprint }} diff --git a/layouts/partials/head/css.html b/layouts/partials/head/css.html index 0079b5f..0b3f461 100644 --- a/layouts/partials/head/css.html +++ b/layouts/partials/head/css.html @@ -1,11 +1,11 @@ -{{ $bundleRaw := resources.Get "sass/style.sass" | resources.ExecuteAsTemplate "style/main.tmp.css" . }} +{{ $bundleRaw := resources.Get "/sass/style.sass" | resources.ExecuteAsTemplate "/css/main.tmp.css" . }} {{ if .Site.IsServer }} -{{ $cssOpts := (dict "targetPath" "styles/main.css" "enableSourceMap" true ) }} +{{ $cssOpts := (dict "targetPath" "/css/main.css" "enableSourceMap" true ) }} {{ $bundle := $bundleRaw | toCSS $cssOpts }} {{ else }} -{{ $cssOpts := (dict "targetPath" "styles/main.css" ) }} +{{ $cssOpts := (dict "targetPath" "/css/main.css" ) }} {{ $postCSSOpts := (dict "use" "autoprefixer" ) }} {{ $bundle := $bundleRaw | toCSS $cssOpts | postCSS $postCSSOpts | minify | fingerprint }} diff --git a/layouts/partials/js/owlCarousel.html b/layouts/partials/js/owlCarousel.html index 34fb45e..36743f1 100644 --- a/layouts/partials/js/owlCarousel.html +++ b/layouts/partials/js/owlCarousel.html @@ -1,5 +1,5 @@ -{{ $owlCarousel := resources.Get "vendor/owlCarousel/owl.carousel.min.js" }} -{{ $initOwlCarousel := resources.Get "js/initOwlCarousel.js" | minify }} +{{ $owlCarousel := resources.Get "/vendor/owlCarousel/owl.carousel.min.js" }} +{{ $initOwlCarousel := resources.Get "/js/initOwlCarousel.js" | minify }} {{ $bundleOwlCarousel := slice $owlCarousel $initOwlCarousel | resources.Concat "/js/bundleOwlCarousel.js" | fingerprint }}