mirror of
https://github.com/gohugoio/hugo.git
synced 2025-03-21 03:33:02 +00:00
Grammar fix in error message
This commit is contained in:
parent
be7f5a4268
commit
be0784bbe9
1 changed files with 1 additions and 1 deletions
|
@ -788,7 +788,7 @@ func (s *Site) assembleMenus() {
|
||||||
|
|
||||||
for name, me := range p.Menus() {
|
for name, me := range p.Menus() {
|
||||||
if _, ok := flat[twoD{name, me.KeyName()}]; ok {
|
if _, ok := flat[twoD{name, me.KeyName()}]; ok {
|
||||||
jww.ERROR.Printf("Two or more menu items have the same name/identifier in %q Menu. Identified as %q.\n Rename or set a unique identifier. \n", name, me.KeyName())
|
jww.ERROR.Printf("Two or more menu items have the same name/identifier in Menu %q: %q.\nRename or set an unique identifier.\n", name, me.KeyName())
|
||||||
continue
|
continue
|
||||||
}
|
}
|
||||||
flat[twoD{name, me.KeyName()}] = me
|
flat[twoD{name, me.KeyName()}] = me
|
||||||
|
|
Loading…
Reference in a new issue