Fix js paths.
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Víðir Valberg Guðmundsson 2021-01-26 21:36:36 +01:00
parent 9bf14530ce
commit 6acdae6500

View file

@ -1,6 +1,6 @@
{{ if eq .Site.Params.includeBootstrapJs true}} {{ if eq .Site.Params.includeBootstrapJs true}}
{{ $jqueryJs := "js/jquery-3.3.1.slim.min.js" -}} {{ $jqueryJs := "static/js/jquery-3.3.1.slim.min.js" -}}
<script src="{{ $jqueryJs | absURL }}"></script> <script src="{{ $jqueryJs | absURL }}"></script>
{{ $bootstrapJs := "js/bootstrap.bundle.min.js" -}} {{ $bootstrapJs := "static/js/bootstrap.bundle.js" -}}
<script src="{{ $bootstrapJs | absURL }}"></script> <script src="{{ $bootstrapJs | absURL }}"></script>
{{ end }} {{ end }}