diff --git a/README.md b/README.md index 7768bed..729e436 100644 --- a/README.md +++ b/README.md @@ -82,7 +82,7 @@ Then continue to [set up the theme configuration files](#set-up-theme-configurat ### Set up theme configuration files -In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. This will ensure you have all the correct theme settings and will enable you to easily customise the theme. +In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. If you installed using Hugo Modules, you should not copy the `module.toml` file! This will ensure you have all the correct theme settings and will enable you to easily customise the theme. Depending on how you installed the theme you will find the theme config files in different places: diff --git a/config/_default/module.toml b/config/_default/module.toml new file mode 100644 index 0000000..6a8e43f --- /dev/null +++ b/config/_default/module.toml @@ -0,0 +1,3 @@ +[hugoVersion] + extended = false + min = "0.86.1" diff --git a/exampleSite/content/docs/installation.md b/exampleSite/content/docs/installation.md index f796d48..736c23d 100644 --- a/exampleSite/content/docs/installation.md +++ b/exampleSite/content/docs/installation.md @@ -79,7 +79,7 @@ Then continue to [set up the theme configuration files](#set-up-theme-configurat ## Set up theme configuration files -In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. This will ensure you have all the correct theme settings and will enable you to easily customise the theme. +In the root folder of your website, delete the `config.toml` file that was generated by Hugo. Copy the `*.toml` config files from the theme into your `config/_default/` folder. If you installed using Hugo Modules, you should not copy the `module.toml` file! This will ensure you have all the correct theme settings and will enable you to easily customise the theme. Depending on how you installed the theme you will find the theme config files in different places: diff --git a/theme.toml b/theme.toml index 4e372ac..a3e6960 100644 --- a/theme.toml +++ b/theme.toml @@ -5,8 +5,6 @@ license = "MIT" licenselink = "https://github.com/jpanther/congo/blob/master/LICENSE" description = "A simple, lightweight theme for Hugo built with Tailwind CSS." -min_version = "0.86.1" - homepage = "https://github.com/jpanther/congo/" demosite = "https://jpanther.github.io/congo/"