Change yourproject to yoursite

master
Will Faught 1 year ago
parent 53ad2183d4
commit 5cead2aef4

@ -119,28 +119,28 @@ please share it by [posting a link](https://github.com/willfaught/paige/discussi
3. Create a site: 3. Create a site:
```sh ```sh
$ hugo new site yourproject $ hugo new site yoursite
``` ```
4. Create a post: 4. Create a post:
```sh ```sh
$ cd yourproject $ cd yoursite
$ hugo new yourpost.md $ hugo new yourpost.md
``` ```
5. Install the Paige module: 5. Install the Paige module:
```sh ```sh
$ cd yourproject $ cd yoursite
$ hugo mod init github.com/youraccount/yourproject $ hugo mod init github.com/youraccount/yoursite
$ hugo mod get github.com/willfaught/paige@latest $ hugo mod get github.com/willfaught/paige@latest
``` ```
6. Import the Paige module: 6. Import the Paige module:
```sh ```sh
$ cd yourproject $ cd yoursite
$ cat >>hugo.toml <<EOF $ cat >>hugo.toml <<EOF
[[module.imports]] [[module.imports]]
path = "github.com/willfaught/paige" path = "github.com/willfaught/paige"
@ -150,14 +150,14 @@ please share it by [posting a link](https://github.com/willfaught/paige/discussi
7. Build and run the site: 7. Build and run the site:
```sh ```sh
$ cd yourproject $ cd yoursite
$ hugo server -D $ hugo server -D
``` ```
8. Update the Paige module: 8. Update the Paige module:
```sh ```sh
$ cd yourproject $ cd yoursite
$ hugo mod get github.com/willfaught/paige@latest $ hugo mod get github.com/willfaught/paige@latest
``` ```

Loading…
Cancel
Save