🐞 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:
逊狼 2021-06-23 21:11:17 +08:00
parent e939f40314
commit 58f8935d1e
29 changed files with 4 additions and 2 deletions

View file

@ -3,6 +3,7 @@
baseURL = 'https://example.com/'
title = 'Hugo Book'
theme = 'hugo-book'
# defaultContentLanguage = "en"
# Book configuration
disablePathToLower = true
@ -23,7 +24,7 @@ enableGitInfo = true
[languages]
[languages.en]
languageName = 'English'
contentDir = 'content'
contentDir = 'content.en'
weight = 1
[languages.ru]

View file

@ -3,6 +3,7 @@
baseURL: https://example.com/
title: Hugo Book
theme: hugo-book
# defaultContentLanguage: en
# Book configuration
disablePathToLower: true
@ -23,7 +24,7 @@ markup:
languages:
en:
languageName: English
contentDir: content
contentDir: content.en
weight: 1
ru:
languageName: Russian