summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYann Herklotz <git@yannherklotz.com>2021-09-11 09:42:48 +0100
committerYann Herklotz <git@yannherklotz.com>2021-09-11 09:42:48 +0100
commit8e9b1c8df994cf4f6e8146aca65cd3a300b186ca (patch)
treebc644279855e34d7942093ce8f6bb49577843a45
parent5ddc46300ea35f8a1bcce7a56a3b1d855cb60331 (diff)
downloadhugo-ymherklotz-8e9b1c8df994cf4f6e8146aca65cd3a300b186ca.tar.gz
hugo-ymherklotz-8e9b1c8df994cf4f6e8146aca65cd3a300b186ca.zip
Add baseurl to start
-rw-r--r--layouts/partials/head.html10
1 files changed, 5 insertions, 5 deletions
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
index 6f5094c..fc85b57 100644
--- a/layouts/partials/head.html
+++ b/layouts/partials/head.html
@@ -21,12 +21,12 @@
href="https://use.fontawesome.com/releases/v5.8.1/css/all.css"
integrity="sha384-50oBUHEmvpQ+1lW4y57PTFmhCaXp0ML5d60M1M7uH2+nqUivzIebhndOJK28anvf"
crossorigin="anonymous">
- <link rel="stylesheet" href="/css/fonts.css" />
- <link rel="stylesheet" href="/css/syntax.css" />
- <link rel="stylesheet" href="/css/colours.css" />
- <link rel="stylesheet" href="/css/default.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/fonts.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/syntax.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/colours.css" />
+ <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/default.css" />
- <link rel="preload" href="/fonts/woff2/iosevka-extrabold.woff2">
+ <link rel="preload" href="{{ .Site.BaseURL }}/fonts/woff2/iosevka-extrabold.woff2">
{{ if not (in (.Site.BaseURL | string) "localhost") }}
{{ if .Site.Params.offen }}