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 "Logs") "active-link" ""}}" href="/logs/">logs</a></li>
12 <li><a class="{{ cond (eq .Title "Projects") "active-link" ""}}" href="/projects/">projects</a></li>
13 <li><a
14 href="https://gitlab.com/gabrielgio/cv/-/raw/main/cv.pdf?inline=false"
15 target="_blank">
16 resume</i>
17 </a>
18 </li>
19 </nav>
20 </div>
21 {{ with .Site.Menus.main }}
22 <nav>
23 <ul>
24 {{ range . }}
25 <li><a href="{{ .URL | relURL }}">{{ .Name }}</a></li>
26 {{ end }}
27 </ul>
28 </nav>
29 {{ end }}
30</header>