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
13 href="https://gitlab.com/gabrielgio/cv/-/raw/main/cv.pdf?inline=false"
14 target="_blank">
15 resume<i style="font-size:x-small" class="fab fa-external-link" aria-hidden="true"> </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>