summaryrefslogtreecommitdiffstats
path: root/exampleSite/content/documentation
diff options
context:
space:
mode:
Diffstat (limited to 'exampleSite/content/documentation')
-rw-r--r--exampleSite/content/documentation/index.md12
1 files changed, 6 insertions, 6 deletions
diff --git a/exampleSite/content/documentation/index.md b/exampleSite/content/documentation/index.md
index 4989b86..344dc91 100644
--- a/exampleSite/content/documentation/index.md
+++ b/exampleSite/content/documentation/index.md
@@ -32,16 +32,16 @@ If you don't get an error, you're good to go. Using the `cd` command on your ter
$ hugo mod init github.com/<your_user>/<your_project>
~~~
-Take a look inside the [`exampleSite`](https://github.com/sergeyklay/gohugo-theme-ed/tree/master/exampleSite) folder of this theme. You'll find a file called [`config.toml`](https://github.com/sergeyklay/gohugo-theme-ed/blob/master/exampleSite/config.toml). To use it, copy the [`config.toml`](https://github.com/sergeyklay/gohugo-theme-ed/blob/master/exampleSite/config.toml) in the root folder of your Hugo site. Feel free to change the strings in this theme.
+Take a look inside the [`exampleSite`](https://github.com/sergeyklay/gohugo-theme-ed/tree/master/exampleSite) folder of this theme. You'll find a folder called [`config`](https://github.com/sergeyklay/gohugo-theme-ed/blob/master/exampleSite/config). Copy the [`config`](https://github.com/sergeyklay/gohugo-theme-ed/blob/master/exampleSite/config) folder in the project root of your Hugo site. Check the contents of the `config` folder and configure it.
You will need to delete the following line: `resourceDir = '../resources'`, because it's necessary only for theme developers.
-After that, import the theme adding the following lines to `config.yaml`:
+After that, import the theme adding the following lines to `config/_default/config.yaml`:
-~~~ toml
-[module]
-[[module.imports]]
- path = 'github.com/sergeyklay/gohugo-theme-ed'
+~~~ yaml
+module:
+ imports:
+ - path: github.com/sergeyklay/gohugo-theme-ed
~~~
Finally, install Hugo Modules using the following command (remember you can copy and paste):