From d13879fd26c04fe6bc5c871d79dc3fee11d4a7a2 Mon Sep 17 00:00:00 2001 From: Serghei Iakovlev Date: Sat, 9 Jul 2022 11:26:26 +0200 Subject: Remove resource dir from example config --- exampleSite/content/documentation/index.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'exampleSite/content') diff --git a/exampleSite/content/documentation/index.md b/exampleSite/content/documentation/index.md index 344dc91..eac5c9c 100644 --- a/exampleSite/content/documentation/index.md +++ b/exampleSite/content/documentation/index.md @@ -26,7 +26,7 @@ Please note, to install Ed, you must have [Go >= 1.12](https://golang.org/dl/) i $ go version ~~~ -If you don't get an error, you're good to go. Using the `cd` command on your terminal, navigate to the folder where you keep your web projects. Once you're in the folder where project live, initialize the Hugo Module system using the following line (replace `` and `` by real names): +If you don't get an error, you're good to go. Using the `cd` command on your terminal, navigate to the folder where you keep your web projects. Once you're in the folder where project live, initialize the [Hugo Modules](https://gohugo.io/hugo-modules) system using the following line (replace `` and `` by real names): ~~~ bash $ hugo mod init github.com// @@ -34,8 +34,6 @@ $ hugo mod init github.com// 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/_default/config.yaml`: ~~~ yaml -- cgit v1.2.3