diff options
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/genposts | 3 |
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 \ |