aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-01 12:49:10 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-01 12:49:10 +0200
commit5ccf6971ef11daf1bc6aabfcfdb015f47b8a9798 (patch)
treef1fa496a0eb8ad7b31f75c659bc850e5d52ee85b
parent5a9da62ded70cfb05309aebcb1c1ee09d17948c5 (diff)
added genposts to generate posts.json for searching
-rw-r--r--.gitignore2
-rwxr-xr-xscripts/genposts2
2 files changed, 4 insertions, 0 deletions
diff --git a/.gitignore b/.gitignore
index e221123..6413ab8 100644
--- a/.gitignore
+++ b/.gitignore
@@ -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