You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Following the Startup section in README.md I found the following problems
1. missing chdir command (module setup)
That won't work cause we are not in the new site folder. to copy and play the code we should add the chdir commend (it's present in the submodule variant)
Using the theme as Hugo module
First create a new Hugo site by running the following command:
hugo new site myblog
Initialize your new Hugo site as hugo module by running the following command:
cd myblog #MISSING
hugo mod init github.com/USER/REPO
2. missing chdir command (submodule setup)
Although it's said that we have to be in the exampleSite folder I would add the chdircommand here, to enable_copy and play_
Using the theme as Git submodule
...
To preview the theme with example content, run the following command from the exampleSite directory:
cd themes/hugo-blog-awesome/example-site # MISSING
hugo server --themesDir ../..
just filed the PR
The text was updated successfully, but these errors were encountered:
irkode
changed the title
missing chdir command in Setup Section to be copy and play capable
DOCS: Missing chdir command in Setup Section to be copy and play capable
Nov 1, 2024
irkode
added a commit
to irkode/hugo-blog-awesome
that referenced
this issue
Nov 1, 2024
Following the Startup section in README.md I found the following problems
1. missing chdir command (module setup)
That won't work cause we are not in the new site folder. to copy and play the code we should add the chdir commend (it's present in the submodule variant)
2. missing chdir command (submodule setup)
Although it's said that we have to be in the
exampleSite
folder I would add thechdir
command here, to enable_copy and play_just filed the PR
The text was updated successfully, but these errors were encountered: