This repository has been archived on 2024-11-13. You can view files and clone it, but cannot push or open issues or pull requests.
fediversity_website/themes/nluug/layouts/partials/header.html

13 lines
408 B
HTML

<header>
<p style="padding: 0;margin: 0;"><a href="/"><strong>{{ .Site.Title }}</strong></a></p>
<ul style="padding: 0;margin: 0;">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
<a href="{{ .URL }}"><span>{{ .Name }}</span></a>
{{ end }}
</li>
</ul>
</header>
<hr class="hr-list" style="padding: 0;margin: 0;">