title | linkTitle | date | draft | series | categories | tags | images | authors | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Customize Scripts |
Scripts |
2023-04-15 00:55:27 +0800 |
false |
|
|
|
This article offers a sample for showing how to add custom scripts.
{{% bs/collapse "assets/hb/modules/custom/js/index.ts" primary true %}} {{% code-snippet index.ts %}} {{% /bs/collapse %}}
{{< bs/alert >}} Please restart the Hugo server to make sure the newer created file was loaded. {{< /bs/alert >}}