One of the things I missed moving from WordPress to Hugo: scheduled posts. WP just… does that. Set a future date, and forget about it. And static site generators don’t… The site only rebuilds when you git push, and that’s it. 😢 Why schedule posts, you ask? Because at times I write 3-4 posts in a day, and I don’t want to spam. ¯\(ツ)/¯ I have a rule that there should only be a single published post a day, and if I know I’m out of topics (especially for FlatTurtle) I tend to add a week or 2 between posts to spread it out evenly. So I wrote (aka vibe coded) a little thing about a year or two ago, originally called BlogTurtle Rebuilder, because it was meant for FlatTurtle’s hugo blog. I’ve since repurposed it for this site. The flow is quite simple: I push a Markdown post to GitLab with date = "..." set to whenever I want it published. Gitlab runs CI and deploys to Cloudflare Pages On push, GitLab also pings a webhook (docker container on a server). Said container does a git pull and scans…
No comments yet. Log in to reply on the Fediverse. Comments will appear here.