update readme
hugo can't find the toml if you are not working in the `site` directory
This commit is contained in:
parent
8ff8e97da5
commit
991d35c362
@ -44,7 +44,8 @@ Adding incidents to your status page is as simple as adding a new document to th
|
|||||||
Create a new incident using Hugo with a command like this:
|
Create a new incident using Hugo with a command like this:
|
||||||
|
|
||||||
```
|
```
|
||||||
hugo -s site new -k incidents incidents/oh-no-something-went-wrong.md
|
cd site
|
||||||
|
hugo new incidents/oh-no-something-went-wrong.md
|
||||||
```
|
```
|
||||||
|
|
||||||
Hugo will create a new Markdown file for you with title and date based on the file name and a few predefined settings in the header. To learn more about the different severities and report, you can see more detailed examples in `site/archetypes/incidents.md`.
|
Hugo will create a new Markdown file for you with title and date based on the file name and a few predefined settings in the header. To learn more about the different severities and report, you can see more detailed examples in `site/archetypes/incidents.md`.
|
||||||
|
Loading…
Reference in New Issue
Block a user