mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-18 21:11:19 +02:00
Merge commit '6aa5c9117fd34644459ea9bcfb1b3f5010658d5d'
This commit is contained in:
@@ -59,6 +59,7 @@ This is a much simpler setup as your Hugo files and generated content are publis
|
||||
* Press <kbd>Ctrl</kbd>+<kbd>C</kbd> to kill the server
|
||||
* Before proceeding run `rm -rf public` to completely remove the `public` directory
|
||||
6. `git submodule add -b master https://github.com/<USERNAME>/<USERNAME>.github.io.git public`. This creates a git [submodule][]. Now when you run the `hugo` command to build your site to `public`, the created `public` directory will have a different remote origin (i.e. hosted GitHub repository).
|
||||
7. Make sure the `baseURL` in your config file is updated with: `<USERNAME>.github.io`
|
||||
|
||||
### Put it Into a Script
|
||||
|
||||
|
Reference in New Issue
Block a user