- Step 1: Clone the repository
- Step 2: Run
npm install - Step 3: ????
- Step 4: Profit
The website includes a custom blog system with the following features:
- Custom Post Pages: Each blog post is a custom Next.js page component with its own unique layout and features
- Database Indexing: Custom posts are still indexed in the database for search and listings
- Build-time Indexing: A script that runs at build time to extract metadata from custom post components and update the database
- Rich Features: Full support for pagination, tags, search, featured posts, and more
- SEO Friendly: Automatic metadata generation for each post
- Create a new directory under
src/app/blog/your-post-slug/ - Create a
page.tsxfile in that directory with your custom content - Include a special comment with your post metadata:
{/*
---
title: Your Post Title
excerpt: Short description of your post
coverImage: /images/blog/your-image.jpg
publishedAt: 2023-12-15
featured: true
tags: tag1,tag2,tag3
---
*/}- The post will be automatically indexed at build time
This is a T3 Stack project bootstrapped with create-t3-app.