aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/scripts.html
diff options
context:
space:
mode:
authorFlorian La Roche <florian.laroche@gmail.com>2020-04-19 20:10:40 +0200
committerGitHub <noreply@github.com>2020-04-20 02:10:40 +0800
commitfa5f2aed895cc3616a2b9af4fdc00c1218c8bd64 (patch)
tree4fc37336daac61631bb061a32051cf495f0728f1 /layouts/partials/scripts.html
parent3788f6d46d8a473e389a935367002b698315da2a (diff)
refactor(resources): use relative links (#245)
Diffstat (limited to 'layouts/partials/scripts.html')
-rw-r--r--layouts/partials/scripts.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/scripts.html b/layouts/partials/scripts.html
index 16cec74..18b0e30 100644
--- a/layouts/partials/scripts.html
+++ b/layouts/partials/scripts.html
@@ -70,7 +70,7 @@
{{ $even := resources.Get "js/even.js" }}
{{ $main := resources.Get "js/main.js" }}
{{ $js := slice $even $main | resources.Concat "js/main.js" | fingerprint }}
-<script type="text/javascript" src="{{ $js.Permalink }}"></script>
+<script type="text/javascript" src="{{ $js.RelPermalink }}"></script>
{{- if and (or .Params.mathjax (and .Site.Params.mathjax (ne .Params.mathjax false))) (or .IsPage .IsHome) }}
<script type="text/javascript">