]>
Commit | Line | Data |
---|---|---|
1 | <aside class="sidebar"> | |
2 | <div class="container sidebar-sticky"> | |
3 | <div class="sidebar-about"> | |
4 | <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a> | |
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}} | |
7 | </p> | |
8 | </div> | |
9 | ||
10 | <nav> | |
11 | <ul class="sidebar-nav"> | |
12 | <li><a href="{{ .Site.BaseURL }}">Home</a> </li> | |
13 | {{ range .Site.Menus.main -}} | |
14 | <li><a href="{{.URL}}"> {{ .Name }} </a></li> | |
15 | {{- end }} | |
16 | </ul> | |
17 | </nav> | |
18 | ||
19 | <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}© {{ now.Format "2006"}}. All rights reserved. {{end}}</p> | |
20 | </div> | |
21 | </aside> |