Content Page #19
Reference in New Issue
Block a user
Delete Branch "adilallo/feature/Blog"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Implement Complete Blog and CMS System with Markdown Files
Overview
This PR implements a complete blog and CMS system using markdown files and Next.js static generation, allowing content creators to add blog posts by simply adding markdown files to the repository. The system provides a full-featured blog with automatic related articles, SEO optimization, and seamless integration with the existing design system.
Changes
/blogroute with dynamic[slug]pages for individual articleslib/content.jswith markdown parsing, frontmatter handling, and related articles algorithmContentThumbnailTemplate- Blog listing cards with vertical/horizontal variantsContentContainer- Structured content layout with icon cyclingContentBanner- Article headers with background selectionRelatedArticles- Responsive carousel with progress barsConditionalHeader- Dynamic header based on pathnameAskOrganizerwith new "inverse" variant_template.mdand contributor documentationScreenshots
How to Test
npm run devand navigate to/blogto see the blog listingnpm run storybookto see all new components and variantscontent/blog/following_template.mdnpm test -- --runto ensure all 432 tests passNotes
content/blog/docs/CONTENT_CREATION_GUIDE.md