mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-28 15:54:22 +01:00
Fixed more menu in navbar
This commit is contained in:
parent
2bc9caf285
commit
03ded7e0bf
1 changed files with 6 additions and 2 deletions
|
@ -22,12 +22,16 @@
|
||||||
</li>
|
</li>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
{{ if site.Menus.more }}
|
||||||
<li class="nav-item dropdown">
|
<li class="nav-item dropdown">
|
||||||
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More</a>
|
<a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false">More</a>
|
||||||
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
<div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink">
|
||||||
<a class="dropdown-item" href="/archive">Archive</a>
|
{{ range site.Menus.more }}
|
||||||
|
<a class="dropdown-item" href="{{if .Pre}}{{if not $.IsHome}}{{site.BaseURL | relLangURL}}{{end}}{{.Pre}}{{ .URL }}{{else}}{{.URL | relLangURL}}{{end}}">{{ .Name }}</a>
|
||||||
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</li>
|
||||||
|
{{ end }}
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
{{- if site.IsMultiLingual }}
|
{{- if site.IsMultiLingual }}
|
||||||
|
|
Loading…
Reference in a new issue