about summary refs log tree commit diff stats
path: root/layouts/partials/sidebar.html
blob: 1497bb24f4527eca0b5e8550e422f59ceaf20bf0 (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
		<aside class="sidebar container" itemprop="author" itemscope itemtype="http://schema.org/Person">
			<header class="sidebar-about">
				<h1 itemprop="name">{{ .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}}
				</p>
			</header>

			<nav>
				<ul class="sidebar-nav">
					<li><a href="/" itemprop="url">Home</a> </li>
					{{ range $key, $value := .Site.Indexes.categories }}
					<li>
						<a href="/categories/{{ $key | urlize }}/">{{ $key | title }}</a>
					</li>
					{{ end }}
					{{ range .Site.Menus.main }}
					<li><a href="{{.Url}}"> {{ .Name }} </a></li>
					{{end}}
				</ul>
			</nav>

			<aside class="contact">
				<h3 class="contact-head">Contact me</h3>
				<ul class="contact-list">
					<li><a href="mailto:alan@alanpearce.uk"><span itemprop="email">alan@alanpearce.uk</span></a></li>
					<li><a itemprop="url" href="https://twitter.com/alanpearceuk">Twitter</a></li>
				</ul>
			</aside>

			<footer>
				Licensed under a <a rel="license" itemprop="license" href="http://creativecommons.org/licenses/by/4.0/">Creative Commons Attribution 4.0 International License</a>.
			</footer>
		</aside>