Footer + fixing bugs
This commit is contained in:
parent
ea539cdf36
commit
45e0d5fca3
13 changed files with 147 additions and 23 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue