瀏覽代碼

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

Linking the title in the sidebar to home
digitalcraftsman 9 年之前
父節點
當前提交
2bec57881b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1
    1
      layouts/partials/sidebar.html

+ 1
- 1
layouts/partials/sidebar.html 查看文件

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