From e35e75800f96cc00c8f0923618eec5f96711b8f7 Mon Sep 17 00:00:00 2001 From: irkode Date: Sat, 2 Nov 2024 07:37:55 +0100 Subject: [PATCH] docs: add missing `chdir` commands in setup section (#247) (#250) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1f6b228a..6921ace5 100644 --- a/README.md +++ b/README.md @@ -57,6 +57,7 @@ First create a new Hugo site by running the following command: Initialize your new Hugo site as hugo module by running the following command: + cd myblog hugo mod init github.com/USER/REPO Afterwards, run this command to add hugo-blog-awesome as module to your site: @@ -86,6 +87,7 @@ Then, clone this repository into the `themes` directory of your new site: To preview the theme with example content, run the following command from the `exampleSite` directory: + cd themes/hugo-blog-awesome/exampleSite hugo server --themesDir ../.. To use this theme, set the `theme` variable in your site's `hugo.toml` to `hugo-blog-awesome`: