Implement automated scheduled publishing for blog
- Enhanced blog library to read from both posts/ and scheduled/ directories - Added publishDate filtering with real-time checking (no cron jobs needed) - Support for draft posts and recursive directory scanning - Posts automatically appear when publishDate is reached - Containerized solution that works without external scheduling - Added publishDate field to blog types and updated existing scheduled post Tested and verified: ✅ Past-dated posts appear automatically ✅ Future-dated posts remain hidden until publish time ✅ Draft posts are excluded regardless of date ✅ Maintains existing functionality for regular posts 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
This commit is contained in:
@@ -1,16 +1,16 @@
|
||||
{
|
||||
"name": "chorus-ping",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.1",
|
||||
"description": "CHORUS PING! - Static blog posts using Next.js",
|
||||
"private": true,
|
||||
"scripts": {
|
||||
"dev": "next dev -p 3002",
|
||||
"dev": "next dev -p 3024",
|
||||
"build": "next build",
|
||||
"start": "next start -p 3002",
|
||||
"start": "next start -p 3025",
|
||||
"lint": "next lint",
|
||||
"type-check": "tsc --noEmit",
|
||||
"docker:build": "docker build -t chorus-blog .",
|
||||
"docker:run": "docker run -p 3002:3000 chorus-blog",
|
||||
"docker:run": "docker run -p 3025:3025 chorus-blog",
|
||||
"docker:compose": "docker-compose up -d"
|
||||
},
|
||||
"dependencies": {
|
||||
|
||||
Reference in New Issue
Block a user