Fix HTML of language menu item.
<span> can not contain <li>.
This commit is contained in:
parent
76736a90dc
commit
037064b586
|
@ -68,8 +68,8 @@ defaultContentLanguageInSubdir = false
|
|||
name = "deutsch"
|
||||
url = "/de/"
|
||||
weight = 4
|
||||
pre = "<span lang='de'>"
|
||||
post = "</span>"
|
||||
pre = "<div lang='de'>"
|
||||
post = "</div>"
|
||||
[menu.main.params]
|
||||
class = "language-menu"
|
||||
|
||||
|
@ -120,8 +120,8 @@ defaultContentLanguageInSubdir = false
|
|||
name = "english"
|
||||
url = "/"
|
||||
weight = 4
|
||||
pre = "<span lang='en'>"
|
||||
post = "</span>"
|
||||
pre = "<div lang='en'>"
|
||||
post = "</div>"
|
||||
[languages.de.menu.main.params]
|
||||
class = "language-menu"
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user