Skip to content

Conversation

@Dhruv-Varshney-developer
Copy link
Member

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

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
Copy link
Contributor

github-actions bot commented Oct 7, 2025

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.

2 participants