소스 검색

Merge pull request #8 from philgs/patch-1

Lowercase variables for .Site.Params
Steve Francia 9 년 전
부모
커밋
717a8f0133
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      layouts/partials/sidebar.html

+ 2
- 2
layouts/partials/sidebar.html 파일 보기

@@ -3,7 +3,7 @@
3 3
     <div class="sidebar-about">
4 4
       <h1>{{ .Site.Title }}</h1>
5 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 7
       </p>
8 8
     </div>
9 9
 
@@ -14,6 +14,6 @@
14 14
       {{end}}
15 15
     </ul>
16 16
 
17
-    <p>{{ with .Site.Params.Copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
17
+    <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
18 18
   </div>
19 19
 </div>