🚚 Move min Hugo version to module.toml

pull/2/head
James Panther 2021-08-20 17:20:20 +10:00
parent ecfa2d395b
commit f0c6306e6c
No known key found for this signature in database
GPG Key ID: D36F789E45745D17
4 changed files with 5 additions and 4 deletions

View File

@ -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:

View File

@ -0,0 +1,3 @@
[hugoVersion]
extended = false
min = "0.86.1"

View File

@ -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:

View File

@ -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/"