Skip to content

Commit ecfbf75

Browse files
committed
Document submodule init step for Docker workflow
Without initializing the hugo-universal-theme submodule, the Docker build only produces a handful of pages and most URLs return 404.
1 parent 45b2906 commit ecfbf75

1 file changed

Lines changed: 4 additions & 0 deletions

File tree

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ hugo server
5353
If you prefer not to install Hugo locally, you can also run the site with Docker using the same Hugo version as CI:
5454

5555
```bash
56+
# Make sure the theme submodule is checked out (otherwise only a few
57+
# pages will be rendered and most URLs will 404).
58+
git submodule update --init --recursive
59+
5660
# Start a local preview at http://127.0.0.1:1313
5761
docker compose up
5862

0 commit comments

Comments
 (0)