aboutsummaryrefslogtreecommitdiff
path: root/themes/flamingo/layouts/partials/header.html
blob: 0c9f095b6ec3924e4f1099064dce188ec38edf4e (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
<header>

	<!-- title wrapper -->
	<div class="title-wrapper">
		<a href="/">
			<h2 class="title" >{{ .Site.Title }}</h2>
		</a>
		<nav>
			<ul>
				<li><a class="{{ cond (eq .Title "Posts") "active-link" ""}}" href="/posts/">posts</a></li>
				<li><a class="{{ cond (eq .Title "Logs") "active-link" ""}}" href="/logs/">logs</a></li>
				<li><a href="https://gitlab.com/gabrielgio/cv/-/raw/main/cv.pdf?inline=false" target="_blank">resume</a></li>
		</nav>
	</div>
	{{ with .Site.Menus.main }}
	<nav>
		<ul>
			{{ range . }}
			<li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
			{{ end }}
		</ul>
	</nav>
	{{ end }}
</header>