]> njoseph.me Git - hyde.git/blame - layouts/partials/sidebar.html
Trim more whitespace in template logic
[hyde.git] / layouts / partials / sidebar.html
CommitLineData
0576ec06
DS
1<div class="sidebar">
2 <div class="container sidebar-sticky">
3 <div class="sidebar-about">
c87ec555 4 <a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
da66ac19 5 <p class="lead">
9ea795e1 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}}
da66ac19 7 </p>
0576ec06 8 </div>
da66ac19 9
0576ec06 10 <ul class="sidebar-nav">
e199c3b5 11 <li><a href="{{ .Site.BaseURL }}">Home</a> </li>
fe56862a 12 {{ range .Site.Menus.main -}}
884e8edc 13 <li><a href="{{.URL}}"> {{ .Name }} </a></li>
fe56862a 14 {{- end }}
0576ec06 15 </ul>
da66ac19 16
6404f691 17 <p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}}. All rights reserved. {{end}}</p>
0576ec06
DS
18 </div>
19</div>