diff --git a/assets/ts/custom.ts b/assets/ts/custom.ts new file mode 100644 index 0000000..03f250c --- /dev/null +++ b/assets/ts/custom.ts @@ -0,0 +1 @@ +/* Place your custom TS in HUGO_SITE_FOLDER/assets/ts/custom.ts */ \ No newline at end of file diff --git a/layouts/partials/footer/components/script.html b/layouts/partials/footer/components/script.html index 83522ff..d73aff4 100644 --- a/layouts/partials/footer/components/script.html +++ b/layouts/partials/footer/components/script.html @@ -2,5 +2,7 @@ {{- $opts := dict "minify" hugo.IsProduction -}} {{- $script := resources.Get "ts/main.ts" | js.Build $opts -}} +{{- $customScript := resources.Get "ts/custom.ts" | js.Build $opts -}} - \ No newline at end of file + + \ No newline at end of file