The main difference I see is that the first Caddyfile does not require a “/content” prefix in the path in order to serve markdown content. Their site roots are different.
I mean the top example shows a website, and the bottom example results in a 404 error. What do you mean that it doesn’t require a content prefix?
To put this question in a more specific form: /Users/me/website/content is where I store my .md files, but I would like the website root to be /Users/me/website. How do I form the markdown and template paths to work with a root path of /Users/me/website?