blob: 6f1343d82bb91ff2bd63a389145185962faece82 (
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
38
39
40
41
42
43
|
<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 sidebar-icons">
{{ range .Site.Menus.icons }}
<li><a href="{{.URL}}">{{ .Post }}</a></li>
{{end}}
</ul>
<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 (where .Site.RegularPages "Section" "posts") }}
<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>
|