blob: a76501d4a830c74ce7a430e047030a391f4a844c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<div class="sidebar-content">
<a href="{{ .Site.BaseURL }}"><h1>{{ .Site.Title }}</h1></a>
<p>{{ .Site.Params.description }}</p>
{{ if .Site.Params.sidebarFreeText }}
<div class="sidebar-freetext">
<p>{{ .Site.Params.sidebarFreeText }}</p>
</div>
{{ end }}
<ul class="sidebar-menus">
{{ range .Site.Menus.main }}
<li>» <a href="{{.URL}}">{{ .Name }}</a> {{ .Post }}</li>
{{end}}
</ul>
<div class="sidebar-recent hidden-xs">
<p>Recent Posts:</p>
<ul>
{{ range first 5 .Site.Pages }}
<li><a href="{{.Permalink}}">{{ .Title }}</a></li>
{{ end }}
</ul>
</div>
{{ if .Site.Params.contact_email }}
<div class="sidebar-contact">
» <a href="mailto:{{ .Site.Params.contact_email }}">Email Us</a>
</div>
{{ end }}
<p class="copyright">{{ with .Site.Params.copyright }}{{ . }}{{ else }}© {{ now.Format "2006" }}. All rights reserved. {{end}}</p>
<p class="attr">Powered by <a href="http://gohugo.io">Hugo</a> & <a href="https://github.com/ExchangeRate-API/strange-case">Strange Case</a> (inspired by <a href="https://github.com/poole/hyde">Hyde</a>).</p>
</div>
|