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

23 lines
905 B
HTML
Raw Normal View History

<div class="sidebar">
<div class="container text-center sidebar-sticky">
<div class="sidebar-about" align="center">
<a href="{{ .Site.BaseURL }}"><h1 class="brand">{{ .Site.Title }}</h1></a>
{{ with .Site.Params.authorimage }} <img src="{{.}}" alt="Author Image" class="img-circle headshot"> {{ end }}
2014-04-26 22:25:13 +00:00
<p class="lead">
{{ with .Site.Params.description }} {{.}} {{ else }} Your site's description {{end}}
2014-04-26 22:25:13 +00:00
</p>
</div>
<div>
<ul class="sidebar-nav">
2017-09-07 19:43:11 +00:00
{{ range .Site.Menus.main -}}
<li><a href="{{.URL}}"> {{ .Name | upper }} </a></li>
2017-09-07 19:43:11 +00:00
{{- end }}
</ul>
</div>
{{ partial "social.html" . }}
2018-01-21 14:17:19 +00:00
<p>{{ with .Site.Params.copyright }}{{.}}{{ else }}&copy; {{ now.Format "2006"}} {{.Site.Params.author}}. <a href="http://creativecommons.org/licenses/by/3.0">Some Rights Reserved</a>. {{end}}</p>
</div>
<div>
</div>
</div>