mirror of https://github.com/lxndrblz/anatole.git

lxndrblz
13.47.2022 741ea6fa3717cd7c0ed2f029b4f75dbc0d11a27b
style: prettier format all files
1 files modified
7 ■■■■ changed files
layouts/partials/navbar.html 7 ●●●● patch | view | raw | blame | history
layouts/partials/navbar.html
@@ -16,9 +16,9 @@
    <ul class="nav__list" id="navMenu">
      {{ $url := .RelPermalink }}
      {{ range $menuId, $menuItem := .Site.Menus.main }}
        {{ $active := eq $url $menuItem.URL }}
        {{ $active := eq $url $menuItem.URL }}
        {{ if $menuItem.HasChildren }}
          <li class="nav__list-item">
            <div class="optionswitch">
              <input class="optionswitch__picker" type="checkbox" id="{{ $menuId }}" hidden />
@@ -28,10 +28,13 @@
                {{ if eq $url .URL }}
                  {{ $labelClass = "optionswitch__label nav__link--active" }}
                {{ end }}
              {{ end }}
              <label class="{{ $labelClass }}" for="{{ $menuId }}"
                >{{ $menuItem.Name }} <i class="fa fa-angle-down" aria-hidden="true"></i
              ></label>