defaultContentLanguage = "fr" don't work

Hi
i creating a documentation with hugo and hugo-learn-theme theme.

I will use French for defaultContentLanguage but my home page redirect in english home page.
translation option work for my all page but i can’t configure correctly my home page in FR
my home is ever en :frowning:
I have this on my config.toml :



[params]   **This is my error .......** :grimacing: is not params ....... i write option on the header to config.toml ...
 

defaultContentLanguage = "fr"
defaultContentLanguageInSubdir= true
disableLanguageSwitchingButton = false

themeVariant = "green"
author = "Valentin"

my pages are this structure :slight_smile:
content
_index.fr.md
_index.en.md

content/dog/
_index.fr.md (home page fr of dog categori)
_index.en.md (home page en of dog categori)

and children page in same folder

smalldog.fr.md
smalldog.en.md
bigdog.fr.md
bigdog.en.md

Please show us your language définition: Multilingual Mode | Hugo

Something like:


languages:
  ar:
    languagedirection: rtl
    title: مدونتي
    weight: 2

To clarify, the problem was caused by placing the following within the [params] table:

defaultContentLanguage = "fr"
defaultContentLanguageInSubdir= true

These belong in the top-level (root) table.

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.