mirror of
https://github.com/tiennm99/HugoBlox-kit.git
synced 2026-10-14 22:16:58 +00:00
fix(nav): always right align search and dark mode icons
Also change nav links to be left aligned in the demo.
This commit is contained in:
1 parent
0a78ba6856
commit
8a7c4eb2aa
2 files changed
+2
-2
No files matched your search
@@ -118,7 +118,7 @@ publication_types = [
|
|||||||
]
|
]
|
||||||
|
|
||||||
# Align the main menu to the right of the page? (true/false)
|
# Align the main menu to the right of the page? (true/false)
|
||||||
menu_align_right = true
|
menu_align_right = false
|
||||||
|
|
||||||
# Link custom CSS and JS assets
|
# Link custom CSS and JS assets
|
||||||
# (relative to /static/css and /static/js respectively)
|
# (relative to /static/css and /static/js respectively)
|
||||||
|
|||||||
@@ -66,7 +66,7 @@
|
|||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
{{ if and (not $align_right) (or .IsTranslated .Site.Menus.main_right) }}
|
{{ if not $align_right | and (.IsTranslated | or .Site.Menus.main_right | or .Site.Params.search.engine | or .Site.Params.day_night) }}
|
||||||
</ul>
|
</ul>
|
||||||
<ul class="navbar-nav ml-auto">
|
<ul class="navbar-nav ml-auto">
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|||||||
Reference in new issue
Block a user