Replace navbar styles with utility classes. Move pages styles to components. Adjust spacing class names.
This commit is contained in:
parent
22e34ed079
commit
b6c9db9106
1 changed files with 14 additions and 24 deletions
|
|
@ -1,5 +1,5 @@
|
|||
<nav class="main-menu{{ if not ($.Param "menuinheader") }} layout__navigation{{ end }}" aria-label="{{ i18n "menu_title" }}">
|
||||
<ul class="navbar">
|
||||
<ul class="flex-inline mb-0">
|
||||
{{ $currentPage := . -}}
|
||||
{{ range site.Menus.main -}}
|
||||
<li><a href="{{ .URL | relLangURL }}"{{ if or ($currentPage.IsMenuCurrent "main" .) ($currentPage.HasMenuCurrent "main" .) }} aria-current="page"{{ end }}>{{ .Pre }}<span>{{ or (i18n .Identifier) .Name | safeHTML }}</span>{{ .Post }}</a></li>
|
||||
|
|
|
|||
Loading…
Reference in a new issue