aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2018-10-14 21:08:55 +0200
committerAlex Shpak <alex-shpak@users.noreply.github.com>2018-10-14 21:08:55 +0200
commit20161336297447aba08e32475148f41cfd5092ab (patch)
tree6c1677aeb84d7fa0e2600092db437f747497d28d
parent3a5fbcd859002142601d0ef90f7fa1053f83b7df (diff)
Fix SVG icon path
-rw-r--r--layouts/partials/docs/mobile-header.html2
-rw-r--r--static/svg/close.svg1
2 files changed, 1 insertions, 2 deletions
diff --git a/layouts/partials/docs/mobile-header.html b/layouts/partials/docs/mobile-header.html
index 3c8866e..adb99cc 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="/svg/menu.svg" />
+ <img src="{{- .Site.BaseURL -}}/svg/menu.svg" />
</label>
<strong>{{- template "title" . }}</strong> \ No newline at end of file
diff --git a/static/svg/close.svg b/static/svg/close.svg
deleted file mode 100644
index dea8678..0000000
--- a/static/svg/close.svg
+++ /dev/null
@@ -1 +0,0 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path d="M19 6.41L17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"/><path d="M0 0h24v24H0z" fill="none"/></svg> \ No newline at end of file