Skip to content

Commit c4cc02d

Browse files
authored
Clarify submodule setup
1 parent 4d638ba commit c4cc02d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ git config --global http.postBuffer 157286400
4848
### Using hugo
4949
0. Hugo documentation: https://gohugo.io/getting-started/quick-start/
5050
1. [Install hugo](https://gohugo.io/installation/)
51-
2. Initialize hugo
51+
2. Initialize hugo (but not the other submodule, see below)
5252
```
53-
git submodule init
54-
git submodule update
53+
cd OBF.github.io/
54+
git submodule update --init themes/beautifulhugo
5555
```
5656
4. Run `hugo server` from the root folder of the project to launch a local server that automatically rebuilds:
5757
```
@@ -68,7 +68,7 @@ Historic images from when the website was on WordPress live in a large separate
6868
repo https://github.com/OBF/wp-content/ which is included as a git submodule.
6969
If you want to view images in the web pages on `localhost:1313`, you will need
7070
to also initialise this repository, which is currently setup using the
71-
`git submodule` workflow. **By default the `wp-content` submodule is not cloned**
71+
`git submodule` workflow.
7272

7373
To load it you can run:
7474

0 commit comments

Comments
 (0)