Adding Content Overview
Overview of how to add documentation and blog posts
Adding Content Overview
This section covers everything you need to know about adding content to your portfolio website.
Types of Content
Your website supports two main types of content:
- Documentation - Organized, hierarchical content in the
/docssection - Blog Posts - Chronological blog posts in the
/blogsection
Documentation
Documentation is organized into sections and subsections, creating a hierarchical structure in the sidebar.
Location: content/docs/
Features:
- Hierarchical sidebar navigation
- Table of contents (auto-generated)
- Search functionality
- Overview pages for major sections
- Custom section ordering
Learn more:
- Adding Documentation - Complete guide
- Documentation Structure - Understanding the structure
Blog Posts
Blog posts are displayed chronologically with tags, dates, and descriptions.
Location: content/blog/
Features:
- Chronological ordering
- Tags and categories
- Author information
- Publication dates
- Featured posts on homepage
Learn more:
- Adding Blog Posts - Complete guide
Content File Format
Both documentation and blog posts use MDX format (Markdown with JSX):
- File extension:
.mdx - Frontmatter: YAML at the top
- Content: Markdown with optional React components
Quick Start
- Choose content type: Documentation or Blog
- Create file: In the appropriate directory
- Add frontmatter: Title, description, date
- Write content: Using Markdown/MDX
- View result: Navigate to the URL
Next Steps
- Adding Documentation - Detailed guide
- Adding Blog Posts - Detailed guide
- Using Features - Learn about available features