diff options
author | lonkaars <l.leblansch@gmail.com> | 2021-04-01 12:49:10 +0200 |
---|---|---|
committer | lonkaars <l.leblansch@gmail.com> | 2021-04-01 12:49:10 +0200 |
commit | 5ccf6971ef11daf1bc6aabfcfdb015f47b8a9798 (patch) | |
tree | f1fa496a0eb8ad7b31f75c659bc850e5d52ee85b | |
parent | 5a9da62ded70cfb05309aebcb1c1ee09d17948c5 (diff) |
added genposts to generate posts.json for searching
-rw-r--r-- | .gitignore | 2 | ||||
-rwxr-xr-x | scripts/genposts | 2 |
2 files changed, 4 insertions, 0 deletions
@@ -33,3 +33,5 @@ yarn-error.log* # vercel .vercel + +public/posts.json diff --git a/scripts/genposts b/scripts/genposts new file mode 100755 index 0000000..b6aff64 --- /dev/null +++ b/scripts/genposts @@ -0,0 +1,2 @@ +#!/bin/sh +./posts | jq -c > ../public/posts.json |