diff --git a/exampleSite/config.toml b/exampleSite/config.toml index d0ead52..dfd9a31 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -3,7 +3,6 @@ baseURL = 'https://example.com/' title = 'Hugo Book' theme = 'hugo-book' -# defaultContentLanguage = "en" # Book configuration disablePathToLower = true @@ -24,7 +23,7 @@ enableGitInfo = true [languages] [languages.en] languageName = 'English' - contentDir = 'content.en' + contentDir = 'content' weight = 1 [languages.ru] diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 60b771c..4f439c6 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -3,7 +3,6 @@ baseURL: https://example.com/ title: Hugo Book theme: hugo-book -# defaultContentLanguage: en # Book configuration disablePathToLower: true @@ -24,7 +23,7 @@ markup: languages: en: languageName: English - contentDir: content.en + contentDir: content weight: 1 ru: languageName: Russian diff --git a/exampleSite/content.en/_index.md b/exampleSite/content/_index.md similarity index 100% rename from exampleSite/content.en/_index.md rename to exampleSite/content/_index.md diff --git a/exampleSite/content.en/docs/example/_index.md b/exampleSite/content/docs/example/_index.md similarity index 100% rename from exampleSite/content.en/docs/example/_index.md rename to exampleSite/content/docs/example/_index.md diff --git a/exampleSite/content.en/docs/example/collapsed/3rd-level/4th-level.md b/exampleSite/content/docs/example/collapsed/3rd-level/4th-level.md similarity index 100% rename from exampleSite/content.en/docs/example/collapsed/3rd-level/4th-level.md rename to exampleSite/content/docs/example/collapsed/3rd-level/4th-level.md diff --git a/exampleSite/content.en/docs/example/collapsed/3rd-level/_index.md b/exampleSite/content/docs/example/collapsed/3rd-level/_index.md similarity index 100% rename from exampleSite/content.en/docs/example/collapsed/3rd-level/_index.md rename to exampleSite/content/docs/example/collapsed/3rd-level/_index.md diff --git a/exampleSite/content.en/docs/example/collapsed/_index.md b/exampleSite/content/docs/example/collapsed/_index.md similarity index 100% rename from exampleSite/content.en/docs/example/collapsed/_index.md rename to exampleSite/content/docs/example/collapsed/_index.md diff --git a/exampleSite/content.en/docs/example/hidden.md b/exampleSite/content/docs/example/hidden.md similarity index 100% rename from exampleSite/content.en/docs/example/hidden.md rename to exampleSite/content/docs/example/hidden.md diff --git a/exampleSite/content.en/docs/example/table-of-contents/_index.md b/exampleSite/content/docs/example/table-of-contents/_index.md similarity index 100% rename from exampleSite/content.en/docs/example/table-of-contents/_index.md rename to exampleSite/content/docs/example/table-of-contents/_index.md diff --git a/exampleSite/content.en/docs/example/table-of-contents/with-toc.md b/exampleSite/content/docs/example/table-of-contents/with-toc.md similarity index 100% rename from exampleSite/content.en/docs/example/table-of-contents/with-toc.md rename to exampleSite/content/docs/example/table-of-contents/with-toc.md diff --git a/exampleSite/content.en/docs/example/table-of-contents/without-toc.md b/exampleSite/content/docs/example/table-of-contents/without-toc.md similarity index 100% rename from exampleSite/content.en/docs/example/table-of-contents/without-toc.md rename to exampleSite/content/docs/example/table-of-contents/without-toc.md diff --git a/exampleSite/content.en/docs/shortcodes/_index.md b/exampleSite/content/docs/shortcodes/_index.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/_index.md rename to exampleSite/content/docs/shortcodes/_index.md diff --git a/exampleSite/content.en/docs/shortcodes/buttons.md b/exampleSite/content/docs/shortcodes/buttons.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/buttons.md rename to exampleSite/content/docs/shortcodes/buttons.md diff --git a/exampleSite/content.en/docs/shortcodes/columns.md b/exampleSite/content/docs/shortcodes/columns.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/columns.md rename to exampleSite/content/docs/shortcodes/columns.md diff --git a/exampleSite/content.en/docs/shortcodes/details.md b/exampleSite/content/docs/shortcodes/details.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/details.md rename to exampleSite/content/docs/shortcodes/details.md diff --git a/exampleSite/content.en/docs/shortcodes/expand.md b/exampleSite/content/docs/shortcodes/expand.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/expand.md rename to exampleSite/content/docs/shortcodes/expand.md diff --git a/exampleSite/content.en/docs/shortcodes/hints.md b/exampleSite/content/docs/shortcodes/hints.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/hints.md rename to exampleSite/content/docs/shortcodes/hints.md diff --git a/exampleSite/content.en/docs/shortcodes/katex.md b/exampleSite/content/docs/shortcodes/katex.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/katex.md rename to exampleSite/content/docs/shortcodes/katex.md diff --git a/exampleSite/content.en/docs/shortcodes/mermaid.md b/exampleSite/content/docs/shortcodes/mermaid.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/mermaid.md rename to exampleSite/content/docs/shortcodes/mermaid.md diff --git a/exampleSite/content.en/docs/shortcodes/section/_index.md b/exampleSite/content/docs/shortcodes/section/_index.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/section/_index.md rename to exampleSite/content/docs/shortcodes/section/_index.md diff --git a/exampleSite/content.en/docs/shortcodes/section/first-page.md b/exampleSite/content/docs/shortcodes/section/first-page.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/section/first-page.md rename to exampleSite/content/docs/shortcodes/section/first-page.md diff --git a/exampleSite/content.en/docs/shortcodes/section/second-page.md b/exampleSite/content/docs/shortcodes/section/second-page.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/section/second-page.md rename to exampleSite/content/docs/shortcodes/section/second-page.md diff --git a/exampleSite/content.en/docs/shortcodes/tabs.md b/exampleSite/content/docs/shortcodes/tabs.md similarity index 100% rename from exampleSite/content.en/docs/shortcodes/tabs.md rename to exampleSite/content/docs/shortcodes/tabs.md diff --git a/exampleSite/content.en/menu/index.md b/exampleSite/content/menu/index.md similarity index 100% rename from exampleSite/content.en/menu/index.md rename to exampleSite/content/menu/index.md diff --git a/exampleSite/content.en/posts/_index.md b/exampleSite/content/posts/_index.md similarity index 100% rename from exampleSite/content.en/posts/_index.md rename to exampleSite/content/posts/_index.md diff --git a/exampleSite/content.en/posts/creating-a-new-theme.md b/exampleSite/content/posts/creating-a-new-theme.md similarity index 100% rename from exampleSite/content.en/posts/creating-a-new-theme.md rename to exampleSite/content/posts/creating-a-new-theme.md diff --git a/exampleSite/content.en/posts/goisforlovers.md b/exampleSite/content/posts/goisforlovers.md similarity index 100% rename from exampleSite/content.en/posts/goisforlovers.md rename to exampleSite/content/posts/goisforlovers.md diff --git a/exampleSite/content.en/posts/hugoisforlovers.md b/exampleSite/content/posts/hugoisforlovers.md similarity index 100% rename from exampleSite/content.en/posts/hugoisforlovers.md rename to exampleSite/content/posts/hugoisforlovers.md diff --git a/exampleSite/content.en/posts/migrate-from-jekyll.md b/exampleSite/content/posts/migrate-from-jekyll.md similarity index 100% rename from exampleSite/content.en/posts/migrate-from-jekyll.md rename to exampleSite/content/posts/migrate-from-jekyll.md