aboutsummaryrefslogtreecommitdiff
path: root/scripts/genposts
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 /scripts/genposts
parent5a9da62ded70cfb05309aebcb1c1ee09d17948c5 (diff)
added genposts to generate posts.json for searching
Diffstat (limited to 'scripts/genposts')
-rwxr-xr-xscripts/genposts2
1 files changed, 2 insertions, 0 deletions
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