Commit graph

2 commits

Author SHA1 Message Date
d2ac6d757e
bert: Update caddy-natural-sort.patch
For next time this patch breaks, if I don't feel like fixing it, a good
approximation for this use case is sorting by modified time, e.g.:

    handle /downloads/Newsletters/* {
      file_server {
        browse ${./caddy-browse-template.html} {
          sort time desc
        }
      }
    }
2026-02-18 18:23:02 -06:00
9726c1c716
bert: Implement natural sort for Caddy browse template
This can go away if upstream decides to implement/merge a fix:

https://github.com/caddyserver/caddy/issues/7226

This is mostly useful for the Newsletter downloads page:

https://stjohnscccc.org/downloads/Newsletters/

Requested-By: Mom
2025-08-31 15:12:45 -05:00