Fix assets generation path

Assets were generated into  `resources/_gen/js/js/*` and `resources/_gen/scss/scss/*`. Now the files are in the correct folder --> no double nesting anymore.
This commit is contained in:
Djordje Atlialp 2019-04-16 00:29:02 +02:00
parent fb32addcaf
commit b38eec2bae
No known key found for this signature in database
GPG key ID: 94FF806E6BF61DD3
2 changed files with 3 additions and 2 deletions

View file

@ -2,7 +2,7 @@
{{ $menu := resources.Get "js/menu.js" }}
{{ $prism := resources.Get "js/prism.js" }}
{{ $theme := resources.Get "js/theme.js" }}
{{ $secureJS := slice $main $menu $prism $theme | resources.Concat "js/bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}
{{ $secureJS := slice $main $menu $prism $theme | resources.Concat "bundle.js" | resources.Minify | resources.Fingerprint "sha512" }}
<script type="text/javascript" src="{{ $secureJS.Permalink }}" integrity="{{ $secureJS.Data.Integrity }}"></script>
{{- if .Site.GoogleAnalytics }}