diff options
-rw-r--r-- | layouts/partials/docs/html-head.html | 4 | ||||
-rw-r--r-- | layouts/partials/docs/mobile-header.html | 4 |
2 files changed, 4 insertions, 4 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 }}"> diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html index adb99cc..3517fe6 100644 --- a/layouts/partials/docs/mobile-header.html +++ b/layouts/partials/docs/mobile-header.html @@ -1,4 +1,4 @@ <label for="menu-control"> - <img src="{{- .Site.BaseURL -}}/svg/menu.svg" /> + <img src="{{ "svg/menu.svg" | absURL }}" /> </label> -<strong>{{- template "title" . }}</strong>
\ No newline at end of file +<strong>{{- template "title" . }}</strong> |