1<header>
2
3 <!-- title wrapper -->
4 <div class="title-wrapper">
5 <a href="/">
6 <h2 class="title" >{{ .Site.Title }}</h2>
7 </a>
8 <nav>
9 <ul>
10 <li><a class="{{ cond (eq .Title "Posts") "active-link" ""}}" href="/posts/">posts</a></li>
11 <li><a class="{{ cond (eq .Title "Projects") "active-link" ""}}" href="/projects/">projects</a></li>
12 <li><a
13 href="https://artifacts.gabrielgio.me/cv/cv.pdf"
14 target="_blank">
15 resume</i>
16 </a>
17 </li>
18 </nav>
19 </div>
20 {{ with .Site.Menus.main }}
21 <nav>
22 <ul>
23 {{ range . }}
24 <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
25 {{ end }}
26 </ul>
27 </nav>
28 {{ end }}
29</header>