mirror of
https://github.com/Aroy-Art/Rinkusu.git
synced 2024-12-27 07:44:23 +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>
|
||||
{{ end }}
|
||||
|
||||
{{ if site.Menus.more }}
|
||||
<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>
|
||||
<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>
|
||||
</li>
|
||||
</li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
|
||||
{{- if site.IsMultiLingual }}
|
||||
|
|
Loading…
Reference in a new issue