summaryrefslogtreecommitdiffstats
path: root/exampleSite
diff options
context:
space:
mode:
authorSerghei Iakovlev <egrep@protonmail.ch>2022-07-09 11:26:26 +0200
committerSerghei Iakovlev <egrep@protonmail.ch>2022-07-09 11:26:26 +0200
commitd13879fd26c04fe6bc5c871d79dc3fee11d4a7a2 (patch)
treec43d14b5882b2e72d6362a0620c74e51d560d66f /exampleSite
parent3136d6c54c26b92ab5cf1509bc9a210c1a800efa (diff)
downloadgohugo-theme-ed-d13879fd26c04fe6bc5c871d79dc3fee11d4a7a2.tar.gz
Remove resource dir from example config
Diffstat (limited to 'exampleSite')
-rw-r--r--exampleSite/config/_default/config.yaml7
-rw-r--r--exampleSite/content/documentation/index.md4
2 files changed, 5 insertions, 6 deletions
diff --git a/exampleSite/config/_default/config.yaml b/exampleSite/config/_default/config.yaml
index b9ae39d..1b67277 100644
--- a/exampleSite/config/_default/config.yaml
+++ b/exampleSite/config/_default/config.yaml
@@ -16,9 +16,6 @@ title: Ed.
# This is replaced in go.mod for exampleSite to point to the directory above.
theme: github.com/sergeyklay/gohugo-theme-ed
-# You may need to delete this line for your real project.
-resourceDir: ../resources
-
enableRobotsTXT: true
# When using ref or relref to resolve page links and a link cannot
@@ -30,6 +27,10 @@ disableKinds:
- RSS
# Google Analytics Tracking ID.
+#
+# For more info, read the article
+# https://support.google.com/analytics/answer/10089681
+#
# Set `HUGO_ENV` environment variable or `site.Params.env` configuration
# parameter to "production" to use Google Analytics.
googleAnalytics: ''
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 `<your_user>` and `<your_project>` 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 `<your_user>` and `<your_project>` by real names):
~~~ bash
$ hugo mod init github.com/<your_user>/<your_project>
@@ -34,8 +34,6 @@ $ 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 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