|
@@ -145,7 +145,8 @@
|
|
</li>
|
|
</li>
|
|
{{ end }}
|
|
{{ end }}
|
|
|
|
|
|
- {{ if site.Params.day_night }}
|
|
|
|
|
|
+ {{ $show_day_night := site.Params.main_menu.show_day_night | default true }}
|
|
|
|
+ {{ if and site.Params.day_night $show_day_night }}
|
|
<li class="nav-item dropdown theme-dropdown">
|
|
<li class="nav-item dropdown theme-dropdown">
|
|
<a href="#" class="nav-link js-theme-selector" data-toggle="dropdown" aria-haspopup="true">
|
|
<a href="#" class="nav-link js-theme-selector" data-toggle="dropdown" aria-haspopup="true">
|
|
<i class="fas fa-palette" aria-hidden="true"></i>
|
|
<i class="fas fa-palette" aria-hidden="true"></i>
|