Hugo-theme-stack/layouts/partials/footer/components/script.html

7 lines
377 B
HTML
Raw Normal View History

2020-08-22 07:20:08 -04:00
<script src="https://cdn.jsdelivr.net/npm/node-vibrant@3.1.5/dist/vibrant.min.js"
integrity="sha256-5NovOZc4iwiAWTYIFiIM7DxKUXKWvpVEuMEPLzcm5/g=" crossorigin="anonymous"></script>
{{- $opts := dict "minify" hugo.IsProduction -}}
{{- $script := resources.Get "ts/main.ts" | js.Build $opts -}}
2020-08-22 07:20:08 -04:00
<script type="text/javascript" src="{{ $script.RelPermalink }}" defer></script>