Skip to content

Commit

Permalink
🐞 fix issues 352
Browse files Browse the repository at this point in the history
Solve this problem:
alex-shpak#352

The Reason:
gohugoio/hugo#8688
  • Loading branch information
vicevolf committed Jun 23, 2021
1 parent e939f40 commit 58f8935
Show file tree
Hide file tree
Showing 29 changed files with 4 additions and 2 deletions.
3 changes: 2 additions & 1 deletion exampleSite/config.toml
Expand Up @@ -3,6 +3,7 @@
baseURL = 'https://example.com/'
title = 'Hugo Book'
theme = 'hugo-book'
# defaultContentLanguage = "en"

# Book configuration
disablePathToLower = true
Expand All @@ -23,7 +24,7 @@ enableGitInfo = true
[languages]
[languages.en]
languageName = 'English'
contentDir = 'content'
contentDir = 'content.en'
weight = 1

[languages.ru]
Expand Down
3 changes: 2 additions & 1 deletion exampleSite/config.yaml
Expand Up @@ -3,6 +3,7 @@
baseURL: https://example.com/
title: Hugo Book
theme: hugo-book
# defaultContentLanguage: en

# Book configuration
disablePathToLower: true
Expand All @@ -23,7 +24,7 @@ markup:
languages:
en:
languageName: English
contentDir: content
contentDir: content.en
weight: 1
ru:
languageName: Russian
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 58f8935

Please sign in to comment.