Trying to use sprig function in template

Unfortunately, this is a known issue. The templates directive and the file server browser don’t share the same code for invoking templating, so many features are missing from browse.

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

1 Like