diff options
Diffstat (limited to 'themes/aoidh/layouts/_partials/nav.html')
| -rw-r--r-- | themes/aoidh/layouts/_partials/nav.html | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/themes/aoidh/layouts/_partials/nav.html b/themes/aoidh/layouts/_partials/nav.html deleted file mode 100644 index 81751ef..0000000 --- a/themes/aoidh/layouts/_partials/nav.html +++ /dev/null @@ -1,14 +0,0 @@ -<nav> - <ul> - {{- $currentPage := . }} - {{- range site.Menus.main }} - {{- if $currentPage.IsMenuCurrent .Menu . }} - <li class="nav-active"><a href="{{ .URL }}">{{ .Name }}</a></li> - {{- else if $currentPage.HasMenuCurrent .Menu . }} - <li class="nav-ancestor"><a href="{{ .URL }}">{{ .Name }}</a></li> - {{- else }} - <li><a href="{{ .URL }}">{{ .Name }}</a></li> - {{- end }} - {{- end }} - </ul> -</nav> |