Przeglądaj źródła

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

Linking the title in the sidebar to home
digitalcraftsman 9 lat temu
rodzic
commit
2bec57881b
1 zmienionych plików z 1 dodań i 1 usunięć
  1. 1
    1
      layouts/partials/sidebar.html

+ 1
- 1
layouts/partials/sidebar.html Wyświetl plik

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