aboutsummaryrefslogtreecommitdiffhomepage
path: root/NOTE.md
blob: 727cc362a5512f7916bfc9fdf765e8220196218f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# My note

## Commands

Generate the site.

```
$ hugo -d docs
```

Create a new post.

```
$ hugo new posts/$(date +'%Y-%m-%d')/[TITLE].md
```


Update `highlight.min.js`.

```
$ curl -sL https://raw.githubusercontent.com/highlightjs/cdn-release/main/build/highlight.min.js >| themes/mypaper/static/highlight.min.js
```