website_rasmus/themes/minimal-bootstrap-hugo-theme/layouts/partials/bootstrap-js.html

6 lines
260 B
HTML

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