diff options
Diffstat (limited to 'www/layouts/partials/js.html')
-rw-r--r-- | www/layouts/partials/js.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/www/layouts/partials/js.html b/www/layouts/partials/js.html index a4e8048..16dafa4 100644 --- a/www/layouts/partials/js.html +++ b/www/layouts/partials/js.html @@ -4,6 +4,8 @@ <script src="{{ .RelPermalink }}" integrity="{{ .Data.Integrity }}"></script> {{ end }} {{ else }} - <script src="{{ (. | js.Build dict) .RelPermalink }}"></script> + {{ with . | js.Build }} + <script src="{{ .RelPermalink }}"></script> + {{ end }} {{ end }} {{ end }} |