diff options
-rw-r--r-- | layouts/partials/head.html | 2 | ||||
-rw-r--r-- | layouts/partials/scripts.html | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 7a9f3ea..483339d 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -62,7 +62,7 @@ <!-- Styles --> {{ $style := resources.Get "sass/main.scss" | toCSS | minify | fingerprint }} -<link href="{{ $style.Permalink }}" rel="stylesheet"> +<link href="{{ $style.RelPermalink }}" rel="stylesheet"> {{ if .Site.Params.publicCDN.enable -}} {{ if .Site.Params.fancybox }}{{ .Site.Params.publicCDN.fancyboxCSS | safeHTML }}{{ end }} {{- else -}} 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"> |