how i write blog posts
a day ago
- Uses Zola as static site engine but mildly dissatisfied, doesn't care to switch.
- Writes drafts from any device (desktop, laptop, phone) that automatically appear on a hidden subdomain of jyn.dev.
- Setup includes Caddy reverse proxy to live Zola server, with HTTPS and WebSocket support for live reloading.
- Content directory is sym-linked to Obsidian notes folder, synced via Obsidian Sync across all devices.
- Uses a 'blog post' template in Obsidian with Zola header; writes normal Markdown.
- Publishes by committing changes to git and pushing to GitHub.
- Typically writes outlines on mobile, cleans up into prose on desktop; sometimes uses nvim for complex HTML.
- Added autosave in nvim using a Lua timer.
- Caddyfile is simple; includes websocket proxy for live reloading.
- Downside: limited visibility on mobile for sync issues; uses tailnet to SSH into desktop to check server.
- Benefits: live reloading from any editor/device, easy sharing with friends for feedback, easy to take down by killing Zola server.