mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-29 20:13:31 +08:00
8 lines
425 B
HTML
8 lines
425 B
HTML
{{- partial "helper/external" (dict "Context" . "Namespace" "Vibrant") -}}
|
|
|
|
{{- $opts := dict "minify" hugo.IsProduction -}}
|
|
{{- $script := resources.Get "ts/main.ts" | js.Build $opts -}}
|
|
{{- $customScript := resources.Get "ts/custom.ts" | js.Build $opts -}}
|
|
|
|
<script type="text/javascript" src="{{ $script.RelPermalink }}" defer></script>
|
|
<script type="text/javascript" src="{{ $customScript.RelPermalink }}" defer></script> |