Pārlūkot izejas kodu

Linking the title in the sidebar to home

digitalcraftsman 9 gadus atpakaļ
vecāks
revīzija
c87ec5559f
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. 1
    1
      layouts/partials/sidebar.html

+ 1
- 1
layouts/partials/sidebar.html Parādīt failu

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