cadoles-arcad/template/blocks/header.html.tmpl

22 lines
634 B
Cheetah

{{define "header"}}
<header>
<a id="logo" href="/"><img src="/assets/logo.svg"></a>
<input type="checkbox" id="active">
<label for="active" class="menu-btn"><span></span></label>
<label for="active" class="close"></label>
<div class="wrapper">
<ul>
<li class="flashlight"><a href="/"><img src="/assets/logo.svg"></a></li>
{{if .IsAdmin}}
<li>
<a href="/admin/logout" class="ligth">Logout</a>
</li>
{{end}}
<li>
<a iclass="ligth" href="/profile">Profile</a>
</li>
<li><a class="ligth" href="/admin">Admin</a></li>
</ul>
</div>
</header>
{{end}}