Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/CaiJimmy/hugo-theme-stack.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJimmy Cai <jimmehcai@gmail.com>2020-09-14 14:38:24 +0300
committerJimmy Cai <jimmehcai@gmail.com>2020-09-14 14:38:24 +0300
commit841508f491a8e1010efa1645312b721d67f55a3f (patch)
tree294bf1e1f28a115f3768568a43a2088c91be73fb /layouts/partials
parent1e28a661d9d848aee7e5bd126fa6f84a715f51c9 (diff)
fix(menu): use <ol> to wrap menu items
Diffstat (limited to 'layouts/partials')
-rw-r--r--layouts/partials/sidebar/left.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/layouts/partials/sidebar/left.html b/layouts/partials/sidebar/left.html
index 1a0e2f5..8991153 100644
--- a/layouts/partials/sidebar/left.html
+++ b/layouts/partials/sidebar/left.html
@@ -25,7 +25,7 @@
<h2 class="site-description">{{ .Site.Params.sidebar.subtitle }}</h2>
</header>
- <nav class="menu" id="main-menu">
+ <ol class="menu" id="main-menu">
{{ $currentPage := . }}
{{ range .Site.Menus.main }}
{{ $active := or (eq $currentPage.Title .Name) (or ($currentPage.HasMenuCurrent "main" .) ($currentPage.IsMenuCurrent "main" .)) }}
@@ -39,5 +39,5 @@
</a>
</li>
{{ end }}
- </nav>
+ </ol>
</aside> \ No newline at end of file