Skip to content

Commit 84002a9

Browse files
committed
docs: update readme
1 parent 6a3d669 commit 84002a9

File tree

1 file changed

+18
-1
lines changed

1 file changed

+18
-1
lines changed

README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,26 @@
11
# Moeru AI Blog
22

3-
## Local Development
3+
## Development
44

55
```bash
66
deno task build # build
77
deno task serve # serve
88
deno task cms # cms
99
```
10+
11+
## Writing new post
12+
13+
Only Moeru AI members can add new posts. (nonetheless, all typo fix are welcome)
14+
15+
Add a new `.md` file to `src/posts` based on the following format:
16+
17+
```ts
18+
interface Data {
19+
title: string
20+
date: string // 'YYYY-MM-DD'
21+
author: string // multiple authors example: 'Foo, Bar'
22+
tags?: string[]
23+
}
24+
```
25+
26+
Have fun!

0 commit comments

Comments
 (0)