fix urls when baseURL is not at root
This commit is contained in:
parent
f07ab7fa31
commit
c44467ce23
2 changed files with 4 additions and 4 deletions
|
@ -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 }}">
|
|
@ -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>
|
Loading…
Reference in a new issue