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

6 lines
268 B
HTML
Raw Normal View History

{{- partial "helper/external" (dict "Context" . "Namespace" "Vibrant") -}}
2020-08-22 07:20:08 -04:00
{{- $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>