summaryrefslogtreecommitdiff
path: root/layouts/partials
diff options
context:
space:
mode:
authorVivek Ghaisas <v.a.ghaisas@gmail.com>2017-05-26 23:17:53 +0300
committerVivek Ghaisas <v.a.ghaisas@gmail.com>2017-05-26 23:17:53 +0300
commite199c3b532f168a2f65e91970544fd7782e133cb (patch)
treea8d74938a4240abebc98d8bf01768e75fbf5fc6f /layouts/partials
parentdaead1a8b052cfe15d4f9e282b05b92bffc66c46 (diff)
Use .Site.BaseURL to generate sidebar "Home" link
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sidebar.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html
index 48fec6a..a582955 100644
--- a/layouts/partials/sidebar.html
+++ b/layouts/partials/sidebar.html
@@ -8,7 +8,7 @@
</div>
<ul class="sidebar-nav">
- <li><a href="/">Home</a> </li>
+ <li><a href="{{ .Site.BaseURL }}">Home</a> </li>
{{ range .Site.Menus.main }}
<li><a href="{{.URL}}"> {{ .Name }} </a></li>
{{end}}