瀏覽代碼

Linking the title in the sidebar to home

digitalcraftsman 9 年之前
父節點
當前提交
c87ec5559f
共有 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>