7
0
Fork 0

Style: toevoegen logo en NLUUG-kleur

This commit is contained in:
Michael Boelen 2023-05-07 14:05:40 +02:00
parent 5ba59ec785
commit 01c89dbc85

View file

@ -1,12 +1,14 @@
<header> <header>
<p style="padding: 0;margin: 0;"><a href="/"><strong>{{ .Site.Title }}</strong></a></p> <nav style="padding:0;width:100%;">
<ul style="padding: 0;margin: 0;"> <a href="/"><img src="/afbeeldingen/logo/nluug-logo.png" alt="NLUUG-logo" title="{{ .Site.Title }}"></a>
{{ $currentPage := . }} <ul style="padding:0;padding-right:15px;margin:0;text-align:right;background-color:#6A2060;color:white;text-align:right;">
{{ range .Site.Menus.main }} {{ $currentPage := . }}
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}"> {{ range .Site.Menus.main }}
<a href="{{ .URL }}"><span>{{ .Name }}</span></a> <li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
{{ end }} <a href="{{ .URL }}"><span>{{ .Name }}</span></a>
</li> </li>
</ul> {{ end }}
</ul>
</nav>
</header> </header>
<hr class="hr-list" style="padding: 0;margin: 0;"> <hr class="hr-list" style="padding: 0;margin: 0;">