blogamore/layouts/partials/script.html

13 lines
541 B
HTML
Raw Normal View History

{{- $bootstrapJs := resources.Get "bootstrap/js/bootstrap.bundle.min.js" }}
<script src="{{ $bootstrapJs.Permalink | relURL }}"></script>
{{- $featherJs := resources.Get "feather/js/feather.min.js" }}
<script src="{{ $featherJs.Permalink | relURL }}"></script>
{{- $mainJs := resources.Get "_own/js/main.js" | js.Build | minify }}
<script src="{{ $mainJs.Permalink | relURL }}"></script>
{{- range .Site.Params.custom_js }}
2022-11-13 20:52:45 +01:00
<script src="{{ $.Site.BaseURL }}{{ . }}"></script>
{{- end }}
<script>
feather.replace();
</script>