Use .Site.BaseURL to generate sidebar "Home" link

This commit is contained in:
Vivek Ghaisas 2017-05-26 23:17:53 +03:00
parent daead1a8b0
commit e199c3b532
1 changed files with 1 additions and 1 deletions

View File

@ -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}}