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/'
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