I would like to display the max_filesize
( caddyv2-upload/upload.go at main · git001/caddyv2-upload · GitHub ) in the HTML form in human readable form caddyv2-upload/upload-template.html at main · git001/caddyv2-upload · GitHub is there already a function for this in caddy or should I use my own?
Something like pretty-go-bytes/index.go at master · jldeep/pretty-go-bytes · GitHub
Are you interested on a pull request for caddy/tplcontext.go at master · caddyserver/caddy · GitHub ?
Can a placeholder be chained like this example
{{ placeholder "http.upload.max_filesize" | pretty_print_bytes }}