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

José Antonio Estevan
27.59.2022 591d1c4b34d2ee04582b16c6006d87c949b8b289
Enable 'pre' property in menu config file
1 files modified
4 ■■■■ changed files
layouts/partials/navbar.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/navbar.html
@@ -42,7 +42,7 @@
              <div class="optionswitch__triangle"></div>
              <ul class="optionswitch__list">
                {{ range $menuItem.Children }}
                  <li class="optionswitch__list-item">
                  <li class="optionswitch__list-item">{{ .Pre }}
                    <a
                      href="{{ .URL }}"
                      {{ if strings.HasPrefix .URL "http" }}
@@ -60,7 +60,7 @@
          </li>
        {{ else }}
          <li class="nav__list-item">
          <li class="nav__list-item">{{ .Pre }}
            <a
              {{ if $active }}
                class="nav__link--active"