Skip to content

Commit

Permalink
Use .Site.BaseURL to generate sidebar "Home" link
Browse files Browse the repository at this point in the history
  • Loading branch information
polybuildr committed May 26, 2017
1 parent daead1a commit e199c3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/sidebar.html
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down

0 comments on commit e199c3b

Please sign in to comment.