aboutsummaryrefslogtreecommitdiff
path: root/scripts/genposts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/genposts')
-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 \