aboutsummaryrefslogtreecommitdiff
path: root/layouts/partials/docs/html-head.html
diff options
context:
space:
mode:
authorAlexander Shpak <alex-shpak@users.noreply.github.com>2018-11-24 13:11:14 +0100
committerGitHub <noreply@github.com>2018-11-24 13:11:14 +0100
commitf5736e077a7d50c05c9ca58ef307e4da4e63e6d5 (patch)
tree8233bea8c721b61e0ef7216dc928ad84eafcb4b1 /layouts/partials/docs/html-head.html
parentf07ab7fa31b78e81309078c8fcd842a35f0e6ded (diff)
parentc44467ce231bb7e132b9047b544fa0a8b930fe53 (diff)
Merge pull request #4 from shaform/fix-urls
fix urls when baseURL is not at root
Diffstat (limited to 'layouts/partials/docs/html-head.html')
-rw-r--r--layouts/partials/docs/html-head.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html
index f7feadb..0110074 100644
--- a/layouts/partials/docs/html-head.html
+++ b/layouts/partials/docs/html-head.html
@@ -3,7 +3,7 @@
<title>{{- template "title" . }} | {{ .Site.Title -}}</title>
<link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet">
-<link rel="stylesheet" href="/normalize.min.css">
+<link rel="stylesheet" href="{{ "/normalize.min.css" | relURL }}">
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
-<link rel="stylesheet" href="{{ $styles.RelPermalink }}"> \ No newline at end of file
+<link rel="stylesheet" href="{{ $styles.RelPermalink }}">