diff options
author | Austin Gebauer <agebauer@hashicorp.com> | 2020-09-13 09:12:59 +0300 |
---|---|---|
committer | Austin Gebauer <agebauer@hashicorp.com> | 2020-09-13 09:12:59 +0300 |
commit | d2dc71a0888b232052112af915836c9a431903df (patch) | |
tree | 3f2b45aaaa98ab5919a9f369f453caa78a7549e7 | |
parent | a338b881ef41e9270fbc635150158839b8256291 (diff) |
fixes css links for https for relpermalink
-rw-r--r-- | layouts/partials/head.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html index ce95a1e..a7bfff9 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -6,12 +6,12 @@ {{/* Adds complete override capability */}} {{ $overrideTemplate := resources.Get "sass/override.scss" }} {{ $override := $overrideTemplate | resources.ExecuteAsTemplate "css/theme.scss" . | toCSS | minify }} - <link rel="stylesheet" href="{{ $override.Permalink }}"> + <link rel="stylesheet" href="{{ $override.RelPermalink }}"> {{/* Adds custom styles capability */}} {{ $customTemplate := resources.Get "sass/custom.scss" }} {{ $custom := $customTemplate | resources.ExecuteAsTemplate "css/custom.scss" . | toCSS | minify }} - <link rel="stylesheet" href="{{ $custom.Permalink }}"> + <link rel="stylesheet" href="{{ $custom.RelPermalink }}"> {{ template "_internal/google_analytics.html" . }} </head> |