]> njoseph.me Git - hyde.git/blobdiff - layouts/partials/sidebar.html
Linking the title in the sidebar to home
[hyde.git] / layouts / partials / sidebar.html
index 645b25c9a9fc2c593f55c35df450d8810e4fce02..4bdc33e84d2f833c688ad74f007d4b36de6690d3 100644 (file)
@@ -1,7 +1,7 @@
 <div class="sidebar">
   <div class="container sidebar-sticky">
     <div class="sidebar-about">
-      <h1>{{ .Site.Title }}</h1>
+      <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
       <p class="lead">
       {{ with .Site.Params.description }} {{.}} {{ else }}An elegant open source and mobile first theme for <a href="http://hugo.spf13.com">hugo</a> made by <a href="http://twitter.com/mdo">@mdo</a>. Originally made for Jekyll.{{end}}
       </p>
@@ -10,7 +10,7 @@
     <ul class="sidebar-nav">
       <li><a href="/">Home</a> </li>
       {{ range .Site.Menus.main }}
-        <li><a href="{{.Url}}"> {{ .Name }} </a></li>
+        <li><a href="{{.URL}}"> {{ .Name }} </a></li>
       {{end}}
     </ul>