Update the header
This commit is contained in:
parent
7cf5efa991
commit
3de018e300
1 changed files with 11 additions and 15 deletions
|
@ -1,26 +1,22 @@
|
|||
<header class="header">
|
||||
<h1 class="logo">
|
||||
<a class="site-name" href="{{ `` | absURL }}">{{ site.Title }}</a>
|
||||
</h1>
|
||||
<h1><a class="site-name" href="{{ `` | absURL }}">Eryn Wells</a></h1>
|
||||
|
||||
{{ $url := .RelPermalink }}<!---->
|
||||
{{ $url := .RelPermalink }}
|
||||
{{ with site.Menus.main }}
|
||||
<nav class="menu">
|
||||
<menu>
|
||||
{{ range . }}
|
||||
<a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}">{{ .Name }}</a>
|
||||
<li><a class="{{ if eq .URL $url }}active{{ end }}" href="{{ .URL }}"><span>{{ .Name }}</span></a></li>
|
||||
{{ end }}
|
||||
</menu>
|
||||
</nav>
|
||||
{{ end }}<!---->
|
||||
{{ end }}
|
||||
|
||||
<nav class="social">
|
||||
<a style="--url: url(./twitter.svg)"
|
||||
href="https://twitter.com/erynofwales"
|
||||
target="_blank"><span>tw</span></a>
|
||||
<a style="--url: url(./github.svg)"
|
||||
href="https://github.com/erynofwales"
|
||||
target="_blank"><span>gh</span></a>
|
||||
<a style="--url: url(./instagram.svg)"
|
||||
href="https://instagram.com/erynofwales"
|
||||
target="_blank"><span>ig</span></a>
|
||||
<menu>
|
||||
<li><a style="--url: url(./twitter.svg)" href="https://twitter.com/erynofwales" target="_blank"><span>tw</span></a></li>
|
||||
<li><a style="--url: url(./github.svg)" href="https://github.com/erynofwales" target="_blank"><span>gh</span></a></li>
|
||||
<li><a style="--url: url(./instagram.svg)" href="https://instagram.com/erynofwales" target="_blank"><span>ig</span></a></li>
|
||||
</menu>
|
||||
</nav>
|
||||
</header>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue