Footer + fixing bugs

This commit is contained in:
Adsooi 2021-06-08 18:18:22 +02:00
parent ea539cdf36
commit 45e0d5fca3
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
13 changed files with 147 additions and 23 deletions

View file

@ -2,9 +2,9 @@
<div class="center nav-flex">
{{ $currentPage := . }}
<div class="nav-mobile">
<a class="navbar-brand" href="//ad5001.eu">
<a class="navbar-brand" href="{{ .Site.Params.brandWebsite }}" role="button">
<img src="/img/icon.png" class="icon-brand" alt=""></img>
{{ .Site.Title }}
Ad5001
</a>
<button id="navbar-toggler">
@ -16,7 +16,7 @@
<ul class="navbar-list">
{{ range .Site.Menus.main }}
{{ if .HasChildren }}
<a href="#">
<a href="#" role="button">
<li class="{{ if $currentPage.HasMenuCurrent "main" . }}active{{ end }}">
{{ .Pre }}
<span>{{ .Name }}</span>
@ -24,7 +24,7 @@
</a>
<ul class="sub-menu">
{{ range .Children }}
<a href="{{ .URL }}">
<a href="{{ .URL }}" role="button">
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
{{ .Name }}
</li>
@ -32,7 +32,7 @@
{{ end }}
</ul>
{{ else }}
<a href="{{ .URL }}">
<a href="{{ .URL }}" role="button">
<li class="{{ if $currentPage.IsMenuCurrent "main" . }}active{{ end }}">
{{ .Pre }}
<span>{{ .Name }}</span>