diff options
author | Shaform <shaform@gmail.com> | 2018-11-23 20:20:39 -0500 |
---|---|---|
committer | Shaform <shaform@gmail.com> | 2018-11-23 21:16:33 -0500 |
commit | c44467ce231bb7e132b9047b544fa0a8b930fe53 (patch) | |
tree | 8233bea8c721b61e0ef7216dc928ad84eafcb4b1 /layouts/partials/docs/mobile-header.html | |
parent | f07ab7fa31b78e81309078c8fcd842a35f0e6ded (diff) |
fix urls when baseURL is not at root
Diffstat (limited to 'layouts/partials/docs/mobile-header.html')
-rw-r--r-- | layouts/partials/docs/mobile-header.html | 4 |
1 files changed, 2 insertions, 2 deletions
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> |