Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/austingebauer/devise.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAustin Gebauer <agebauer@hashicorp.com>2020-09-13 09:12:59 +0300
committerAustin Gebauer <agebauer@hashicorp.com>2020-09-13 09:12:59 +0300
commitd2dc71a0888b232052112af915836c9a431903df (patch)
tree3f2b45aaaa98ab5919a9f369f453caa78a7549e7
parenta338b881ef41e9270fbc635150158839b8256291 (diff)
fixes css links for https for relpermalink
-rw-r--r--layouts/partials/head.html4
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>