Revert "Revert "🐞 fix issues 352""

This reverts commit fa0d46ccf5.
This commit is contained in:
逊狼 2021-07-18 23:10:17 +08:00
parent fa0d46ccf5
commit 79777a9e84
29 changed files with 4 additions and 2 deletions

View File

@ -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]

View File

@ -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