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:

  1. Documentation - Organized, hierarchical content in the /docs section
  2. Blog Posts - Chronological blog posts in the /blog section

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:

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:

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

  1. Choose content type: Documentation or Blog
  2. Create file: In the appropriate directory
  3. Add frontmatter: Title, description, date
  4. Write content: Using Markdown/MDX
  5. View result: Navigate to the URL

Next Steps