Skip to content

feat: Migrate blog from medium to ghost cms#197

Open
Dhruv-Varshney-developer wants to merge 17 commits into
mainfrom
ghost-cms
Open

feat: Migrate blog from medium to ghost cms#197
Dhruv-Varshney-developer wants to merge 17 commits into
mainfrom
ghost-cms

Conversation

@Dhruv-Varshney-developer

@Dhruv-Varshney-developer Dhruv-Varshney-developer commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

Replaces the Medium RSS feed with our own Ghost CMS instance. This improves SEO drastically to our website.

What Changed

Added:

  • /blog - Main blog page with post listings
  • /blog/[slug] - Individual post pages
  • Ghost API endpoints in server/api/blog/
  • Ghost config in nuxt.config.ts
  • Image fallback handling in BlogCard.vue

Removed:

  • Old Medium integration (pages/blog.vue)
  • Medium RSS handler (server/api/blog.ts)

Updated:

  • BlogCard.vue - Now handles missing images gracefully
  • nuxt.config.ts - Added Ghost credentials + ISR config

How It Works

All blog content is now server-side rendered with 1-hour caching on API calls. Pages include proper SEO meta tags and structured data. If Ghost is down or content is missing, we fail gracefully with helpful error messages.

Cache Revalidation

Added Ghost webhook integration for instant cache updates:

  • Endpoint: /api/revalidate

@github-actions

github-actions Bot commented Oct 7, 2025

Copy link
Copy Markdown
Contributor

remove prerendering of blog.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant