I currently run my own static gallery generator, but figure caddy v2 can do it all itself through templates.
I haven’t found anything searching around.
Unfortunately, I don’t think too many people have experimented with Caddy v2’s templating. You’re one of the first for this
Good news is, the default
file_server browse template probably has everything you need in terms of functionality, you’ll just need to adjust it to display the images with
<img /> tags instead of a file list, etc.
Thanks. I figured this is the case. I need to spend more time reading the source to understand what’s exposed/possible. I have read through the source code for caddyserver.com, and it looks pretty straightforward.
Whatever I write, I’ll make open source so others can make it better than my hacks.
This topic was automatically closed after 30 days. New replies are no longer allowed.