News for hackers. Stuff that matters.
Re:Goodbye Medium, hello Ghost by rsolva on Monday July 04, 2022 @03:09AM (#31974301)
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.
Re:Goodbye Medium, hello Ghost by mg on Monday July 04, 2022 @03:31AM (#31974446)
The 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.