5 ms·
Posted this deeper in thread, also noting up here: Just serve your markdown git repo using Caddy. https://caddyserver.com/docs/markdown https://caddyserver.co
by Terretta 6y ago
Posted this deeper in thread, also noting up here:
Just serve your markdown git repo using Caddy.
https://caddyserver.com/docs/markdown https://caddyserver.com/docs/markdown
”Caddy is both a flexible, efficient static file server and a powerful, scalable reverse proxy. Use it to serve your static site with compression, template evaluation, Markdown rendering, and more.”
https://caddyserver.com/ https://caddyserver.com/
Here’s a blog on doing this with the older version of Caddy:
https://blog.thomaspuppe.de/static-sites-from-markdown-with-caddy-server https://blog.thomaspuppe.de/static-sites-from-markdown-with-...
You get a lot of other “just works” goodness too.
- mholt 6y agoFYI our v1 site went away this week (we've had redirects for about 7 months now). Here's the link to the v2 docs for markdown rendering with templates: https://caddyserver.com/docs/modules/http.handlers.templates#markdown https://caddyserver.com/docs/modules/http.handlers.templates...
- Terretta 6y agoRedirects may have been wrong form? This was top link in Google and DDG for ‘caddy markdown’... but to your point, it didn’t respond. So I figured right page based off of the snippet and visited status. Right form of redirect should update the index, no longer show the old page.