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

José Antonio Estevan
29.31.2023 6deb26e699ceb1eb3d2d325689655bf0e06bb4bb
feat: enable 'pre' property in menu config file (#381)

1 files modified
4 ■■■■ changed files
layouts/partials/navbar.html 4 ●●●● patch | view | raw | blame | history
layouts/partials/navbar.html
@@ -37,7 +37,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" }}
@@ -52,7 +52,7 @@
            </div>
          </li>
        {{ else }}
          <li class="nav__list-item">
          <li class="nav__list-item">{{ .Pre }}
            <a
              {{ if $active }}
                class="nav__link--active"