hugo-theme-hyde-hyde/layouts/partials/sidebar.html

20 lines
724 B
HTML
Raw Normal View History

<div class="sidebar">
<div class="container sidebar-sticky">
<div class="sidebar-about">
2014-04-26 22:25:13 +00:00
<h1>{{ .Site.Title }}</h1>
<p class="lead">
{{ 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}}
2014-04-26 22:25:13 +00:00
</p>
</div>
2014-04-26 22:25:13 +00:00
<ul class="sidebar-nav">
<li><a href="/">Home</a> </li>
{{ range .Site.Menus.main }}
<li><a href="{{.URL}}"> {{ .Name }} </a></li>
{{end}}
</ul>
2014-04-26 22:25:13 +00:00
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{.Now.Format "2006"}}. All rights reserved. {{end}}</p>
</div>
</div>