diff options
author | Hanzei <16541325+hanzei@users.noreply.github.com> | 2018-11-28 18:46:21 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-28 18:46:21 +0300 |
commit | 88aa5812f5e081e32853135981cf5784f6c5d5a4 (patch) | |
tree | 2d92a9f6a1a29a4c33abfcca470ac57607a0b96f /layouts/partials/footer/scripts.html | |
parent | dfe920cc2a0c4b46bc521776613e8e26822894ce (diff) |
Serve hugo pipes assets with .RelPermalink (#107)
* Serve hugo pipes assets with .RelPermalink
* Rebuild docs
Diffstat (limited to 'layouts/partials/footer/scripts.html')
-rw-r--r-- | layouts/partials/footer/scripts.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html index 77fa926..2ad1fda 100644 --- a/layouts/partials/footer/scripts.html +++ b/layouts/partials/footer/scripts.html @@ -1,6 +1,6 @@ {{ $jQuery := resources.Get "/vendor/jquery/jquery-3.3.1.min.js" }} {{ $index := resources.Get "/js/index.js" | minify }} {{ $scripts := slice $jQuery $index | resources.Concat "/js/bundle.js" | fingerprint }} -<script src="{{ $scripts.Permalink }}" integrity="{{ $scripts.Data.Integrity }}"></script> +<script src="{{ $scripts.RelPermalink }}" integrity="{{ $scripts.Data.Integrity }}"></script> {{ template "_internal/google_analytics_async.html" . }} |