aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorlonkaars <l.leblansch@gmail.com>2021-04-12 12:45:24 +0200
committerlonkaars <l.leblansch@gmail.com>2021-04-12 12:45:24 +0200
commitb89743110c9d7aedc802f4e2c85222ebfe259bf3 (patch)
treed42dab178afb237a8fafa90b8393515375a58574 /scripts
parentf36cc3fc48299601bf585a3ee09f7ab548b1660e (diff)
web launch
Diffstat (limited to 'scripts')
-rwxr-xr-xscripts/genposts3
1 files changed, 3 insertions, 0 deletions
diff --git a/scripts/genposts b/scripts/genposts
index 0c6bfe0..22459fb 100755
--- a/scripts/genposts
+++ b/scripts/genposts
@@ -1,4 +1,7 @@
#!/bin/sh
+
+cd $(dirname $0)
+
./posts |\
jq ".posts |= sort_by(.date)" |\
jq -c \