Commit
Author: Kevin Schoon [kevinschoon@gmail.com]
Hash: f7febfdbe44e0a4f7144212cde988ab2ef788929
Timestamp: Thu, 17 Sep 2020 20:50:48 +0000 (4 years ago)

+1 -1 +/-1 browse
fix filename prefix
1diff --git a/lib/slug.ml b/lib/slug.ml
2index a4abcbc..ef4cef7 100644
3--- a/lib/slug.ml
4+++ b/lib/slug.ml
5 @@ -43,6 +43,6 @@ let next state_dir =
6 in
7 let date_str = Date.format today "%Y%m%d" in
8 let path =
9- Filename.concat state_dir (Core.sprintf "%s-%d.md" date_str next_int)
10+ Filename.concat state_dir (Core.sprintf "note-%s-%d.md" date_str next_int)
11 in
12 { path; date = today; index = next_int }