Browse Source

Merge pull request #14 from digitalcraftsman/sidebar-link-to-home

Linking the title in the sidebar to home
digitalcraftsman 9 years ago
parent
commit
2bec57881b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      layouts/partials/sidebar.html

+ 1
- 1
layouts/partials/sidebar.html View File

1
 <div class="sidebar">
1
 <div class="sidebar">
2
   <div class="container sidebar-sticky">
2
   <div class="container sidebar-sticky">
3
     <div class="sidebar-about">
3
     <div class="sidebar-about">
4
-      <h1>{{ .Site.Title }}</h1>
4
+      <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
5
       <p class="lead">
5
       <p class="lead">
6
       {{ 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}}
6
       {{ 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}}
7
       </p>
7
       </p>