Mention how to create new blog post in README
This commit is contained in:
parent
979caf8617
commit
50f2f6ce13
19
README.md
19
README.md
@ -17,3 +17,22 @@ Run `make render` to render all files in public/.
|
||||
Deployment is done by rendering all files in production mode and then copying them where a webserver like `nginx` can serve them.
|
||||
|
||||
I use [`deploy.sh`](./deploy.sh) for this.
|
||||
|
||||
## How to create new blog post
|
||||
|
||||
1. Create new Markdown file in blog/
|
||||
2. It needs to have this header:
|
||||
|
||||
```
|
||||
Title: title
|
||||
Date: date
|
||||
ReadingTime: time
|
||||
Sats: 0
|
||||
Comments: comments
|
||||
|
||||
---
|
||||
```
|
||||
|
||||
3. Run `make render`.
|
||||
|
||||
Done!
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user