Lots of responsive fixes

This commit is contained in:
Eryn Wells 2021-12-27 14:55:26 -07:00
parent 5c65dade97
commit 257dbb9bd2
4 changed files with 94 additions and 24 deletions

View file

@ -1,16 +1,18 @@
<header class="header">
<h1><a class="site-name" href="{{ `` | absURL }}">Eryn Wells</a></h1>
<div class="title-and-menu">
<h1><a class="site-name" href="{{ `` | absURL }}">Eryn Wells</a></h1>
{{ $url := .RelPermalink }}
{{ with site.Menus.main }}
<nav class="menu">
<menu>
{{ range . }}
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
{{ $url := .RelPermalink }}
{{ with site.Menus.main }}
<nav class="menu">
<menu>
{{ range . }}
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
{{ end }}
</menu>
</nav>
{{ end }}
</menu>
</nav>
{{ end }}
</div>
<nav class="social">
<menu>