mirror of
https://github.com/CaiJimmy/hugo-theme-stack.git
synced 2025-04-28 19:43:31 +08:00
fix(menu): <ol> containing other than <li>, <script> or <template> elements
This commit is contained in:
parent
405e84291a
commit
c19bc50000
@ -74,8 +74,9 @@
|
||||
</a>
|
||||
</li>
|
||||
{{ end }}
|
||||
|
||||
</ol>
|
||||
<div class="menu-bottom-section">
|
||||
<ol class="menu">
|
||||
{{- $currentLanguageCode := .Language.Lang -}}
|
||||
{{ if ( compare.Gt .Site.Home.AllTranslations 1 ) }}
|
||||
{{ with .Site.Home.AllTranslations }}
|
||||
@ -97,6 +98,6 @@
|
||||
<span>{{ T "darkMode" }}</span>
|
||||
</li>
|
||||
{{ end }}
|
||||
</div>
|
||||
</ol>
|
||||
</div>
|
||||
</aside>
|
||||
|
Loading…
Reference in New Issue
Block a user