hugo-theme-hyde-hyde/layouts/partials/sidebar.html
2018-07-21 06:32:00 +10:00

30 lines
1.1 KiB
HTML

<!-- Sidebar -->
<div class="sidebar text-center">
<div class="container {{ with .Site.Params.sidebarSticky -}}sidebar-sticky{{- end }}">
<div class="sidebar-about">
<div class="site__title">
<a href="{{ .Site.BaseURL }}">{{ .Site.Title }}</a>
</div>
{{ with .Site.Params.authorimage }}
<p>
<img src="/{{.}}" alt="Author Image" class="img--circle img--headshot element--center">
</p>
{{ end }}
<p class="site__description">
{{ with .Site.Params.description }} {{.}} {{ else }} Your site's description {{end}}
</p>
</div>
{{ partial "sidebar/menu.html" . }}
<p>
{{ partial "sidebar/social.html" . }}
</p>
<p class="copyright">{{ with .Site.Params.copyright }}{{.|safeHTML}}{{ else }}&copy; {{ now.Format "2006"}} {{.Site.Params.author}}.
<a href="https://creativecommons.org/licenses/by-sa/4.0">Some Rights Reserved</a>.
<br/>Built with
<a href="https://gohugo.io">Hugo</a> ❤️
<a href="https://github.com/htr3n/hyde-hyde">hyde-hyde</a>.{{end}}
</p>
</div>
<div>
</div>
</div>