mobile menu rtl support

# 208
This commit is contained in:
zzossig 2020-02-28 01:25:18 +09:00
parent 0ee469442a
commit a3b1284da5
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@
<span aria-hidden="true"></span>
</a>
<div class="navbarm__collapse" data-open="false">
<ul>
<ul dir="{{ $.Param "languagedir" | default "ltr" }}">
{{ $current := . }}
{{ range $index, $menu := .Site.Menus.main }}
{{ $active := or ($current.IsMenuCurrent "main" $menu) ($current.HasMenuCurrent "main" $menu) }}