Browse Source

Merge pull request #19 from digitalcraftsman/fix-url-variable

Replaced .Url with .URL in sidebar.html
digitalcraftsman 9 years ago
parent
commit
bb47bd018b
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      layouts/partials/sidebar.html

+ 1
- 1
layouts/partials/sidebar.html View File

10
     <ul class="sidebar-nav">
10
     <ul class="sidebar-nav">
11
       <li><a href="/">Home</a> </li>
11
       <li><a href="/">Home</a> </li>
12
       {{ range .Site.Menus.main }}
12
       {{ range .Site.Menus.main }}
13
-        <li><a href="{{.Url}}"> {{ .Name }} </a></li>
13
+        <li><a href="{{.URL}}"> {{ .Name }} </a></li>
14
       {{end}}
14
       {{end}}
15
     </ul>
15
     </ul>
16
 
16