🐞 fix issues 352
Solve this problem: https://github.com/alex-shpak/hugo-book/issues/352 The Reason: https://github.com/gohugoio/hugo/issues/8688
This commit is contained in:
parent
e939f40314
commit
58f8935d1e
29 changed files with 4 additions and 2 deletions
|
@ -3,6 +3,7 @@
|
||||||
baseURL = 'https://example.com/'
|
baseURL = 'https://example.com/'
|
||||||
title = 'Hugo Book'
|
title = 'Hugo Book'
|
||||||
theme = 'hugo-book'
|
theme = 'hugo-book'
|
||||||
|
# defaultContentLanguage = "en"
|
||||||
|
|
||||||
# Book configuration
|
# Book configuration
|
||||||
disablePathToLower = true
|
disablePathToLower = true
|
||||||
|
@ -23,7 +24,7 @@ enableGitInfo = true
|
||||||
[languages]
|
[languages]
|
||||||
[languages.en]
|
[languages.en]
|
||||||
languageName = 'English'
|
languageName = 'English'
|
||||||
contentDir = 'content'
|
contentDir = 'content.en'
|
||||||
weight = 1
|
weight = 1
|
||||||
|
|
||||||
[languages.ru]
|
[languages.ru]
|
||||||
|
|
|
@ -3,6 +3,7 @@
|
||||||
baseURL: https://example.com/
|
baseURL: https://example.com/
|
||||||
title: Hugo Book
|
title: Hugo Book
|
||||||
theme: hugo-book
|
theme: hugo-book
|
||||||
|
# defaultContentLanguage: en
|
||||||
|
|
||||||
# Book configuration
|
# Book configuration
|
||||||
disablePathToLower: true
|
disablePathToLower: true
|
||||||
|
@ -23,7 +24,7 @@ markup:
|
||||||
languages:
|
languages:
|
||||||
en:
|
en:
|
||||||
languageName: English
|
languageName: English
|
||||||
contentDir: content
|
contentDir: content.en
|
||||||
weight: 1
|
weight: 1
|
||||||
ru:
|
ru:
|
||||||
languageName: Russian
|
languageName: Russian
|
||||||
|
|
Loading…
Reference in a new issue