|
@@ -102,7 +102,8 @@
|
|
<script id="dsq-count-scr" src="https://{{site.Params.comments.disqus.shortname}}.disqus.com/count.js" async></script>
|
|
<script id="dsq-count-scr" src="https://{{site.Params.comments.disqus.shortname}}.disqus.com/count.js" async></script>
|
|
{{end}}
|
|
{{end}}
|
|
|
|
|
|
- {{ $js_bootstrap := resources.Get "js/_vendor/bootstrap.bundle.min.js" }}
|
|
|
|
|
|
+ {{/* Rename as GitHub Pages doesn't automatically publish folders with underscores. */}}
|
|
|
|
+ {{ $js_bootstrap := slice (resources.Get "js/_vendor/bootstrap.bundle.min.js") | resources.Concat "js/bootstrap.bundle.min.js" }}
|
|
{{- if hugo.IsProduction -}}
|
|
{{- if hugo.IsProduction -}}
|
|
{{ $js_bootstrap = $js_bootstrap | fingerprint "md5" }}{{/* Note: no `minify` as using pre-minified JS. */}}
|
|
{{ $js_bootstrap = $js_bootstrap | fingerprint "md5" }}{{/* Note: no `minify` as using pre-minified JS. */}}
|
|
{{- end -}}
|
|
{{- end -}}
|