aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/partials/header.html
blob: 8f26fb425cef5fe20fc3e892f7be0fb4d82d1417 (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
<header>
	<!-- title wrapper -->
	<div class="title-wrapper">
		<a href="/">
			<h2 class="title">{{ .Site.Title }}</h2>
		</a>
		<nav>
			<ul>
				<li><a href="/posts/">posts</a></li>
				<li><a href="/projects/">projects</a></li>
				<li><a href={{ .Site.Params.resume }} target="_blank">resume</a></li>
				<!-- <li><a href="/resume/" target="_blank" >resume</a></li> -->
			</ul>
		</nav>
	</div>
	<!-- title wrapper end -->

	{{ with .Site.Menus.main }}
	<nav>
		<ul>
			{{ range . }}
			<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
			{{ end }}
		</ul>
	</nav>
	{{ end }}
</header>