From df16f1a50f239e032799e7407895136519660d02 Mon Sep 17 00:00:00 2001 From: irkode Date: Fri, 1 Nov 2024 17:52:17 +0100 Subject: [PATCH] docs: add missing chdir commands in Setup Section (#247) --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 1f6b228..6921ace 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`: