diff options
| author | Joe Carstairs <me@joeac.net> | 2026-06-17 22:06:05 +0100 |
|---|---|---|
| committer | Joe Carstairs <me@joeac.net> | 2026-06-17 22:06:05 +0100 |
| commit | 2f70f87f41901437993886a5c452233a3ad1c6e1 (patch) | |
| tree | 05468af1d866ecfb8a082bdbcd1aa41f22ac8d7b | |
| parent | 0519d155fa1066df698aca1b407d77e5f176d0a0 (diff) | |
reverses blog post order
| -rw-r--r-- | http/src/blog.upphtml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/http/src/blog.upphtml b/http/src/blog.upphtml index 4b7abf7..24d7994 100644 --- a/http/src/blog.upphtml +++ b/http/src/blog.upphtml @@ -4,7 +4,7 @@ SITE_URL="$2" export TITLE="Joe Carstairs" export DESCRIPTION="Joe Carstairs' personal website" -POSTS="$(ls "${SRC}/blog/" | grep "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\.blog.upphtml$")" +POSTS="$(ls --reverse "${SRC}/blog/" | grep "^[0-9]\{4\}-[0-9]\{2\}-[0-9]\{2\}\.blog.upphtml$")" set -- for post in $POSTS do |
