diff options
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r-- | layouts/partials/scripts.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html new file mode 100644 index 0000000..152c32b --- /dev/null +++ b/layouts/partials/scripts.html | |||
@@ -0,0 +1,4 @@ | |||
1 | {{ $scripts := resources.Match "js/*.js" }} | ||
2 | {{ range $script := $scripts }} | ||
3 | <script src="{{ $script.RelPermalink }}" defer></script> | ||
4 | {{ end }} \ No newline at end of file | ||