3 ms·
You shuld check out Server Side Includes (SSI) which enables you to do inludes, run scripts etc via the webserver (Apache, Nginx). Caddy has its own version tha
by rsolva 4y ago
You shuld check out Server Side Includes (SSI) which enables you to do inludes, run scripts etc via the webserver (Apache, Nginx). Caddy has its own version that also handles Mardown and Frontmatter. Caddys own documentation is using this feature in fact, and the source is available for those who want to see how it works. It's called "Templating" in Caddy, not SSI.
- mg 4y agoThe SSI syntax is not as lean and convenient as the syntax I am going for. It would lead to less readable and more bloated content files.