Skip to content

Commit

Permalink
docs: add missing chdir commands in Setup Section (#247)
Browse files Browse the repository at this point in the history
  • Loading branch information
irkode committed Nov 2, 2024
1 parent b5b1aef commit df16f1a
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -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`:
Expand Down

0 comments on commit df16f1a

Please sign in to comment.