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

github.com/blankoworld/hugo_theme_adam_eve.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier DOSSMANN <git@dossmann.net>2018-09-03 22:39:31 +0300
committerOlivier DOSSMANN <git@dossmann.net>2018-09-03 22:39:31 +0300
commit43c5a594645958065279ece8d3a05c2ded256bb7 (patch)
tree60f7d68fcaaf25f76048c8026c4605d99c780784
parent3ebe981e35ae43b633f25346dd103424d63c991d (diff)
Add absURL for CSS to avoid problems with subdirectory domains
-rw-r--r--layouts/partials/header.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index 8ddbd0f..7057959 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -3,4 +3,4 @@
{{ .Hugo.Generator }}
<title>{{ .Title }} &middot; {{ .Site.Title }}</title>
{{ $styles := resources.Get "css/main.css" | resources.ExecuteAsTemplate "main.css" . | minify | fingerprint }}
- <link rel="stylesheet" type="text/css" href="{{ $styles.Permalink }}" integrity="{{ $styles.Data.Integrity }}" media="screen" title="default">
+ <link rel="stylesheet" type="text/css" href="{{ $styles.Permalink |absURL }}" integrity="{{ $styles.Data.Integrity }}" media="screen" title="default">