Static Content
Managing blogs and static pages in NestSaaS
Static Content
NestSaaS provides powerful tools for managing static content such as blogs, landing pages, and documentation. This section covers how to create, organize, and customize your static content.
Overview
Static content in NestSaaS is managed through:
- MDX files in the
content
directory - Static pages in the
app
directory - The admin interface for content management
Blog Management
NestSaaS includes a full-featured blog system with support for:
- Markdown and MDX content
- Categories and tags
- Featured images
- Author profiles
- SEO optimization
- Comments (optional)
Blog Structure
Blog posts are stored in the content/posts
directory as MDX files with frontmatter:
Creating Blog Posts
You can create blog posts in two ways:
- Using the Admin Interface: Navigate to Content > Blog > New Post
- Creating MDX Files: Add new files to the
content/posts
directory
Learn more about blog management
Static Pages
Static pages are used for content that doesn't change frequently, such as:
- Landing pages
- About pages
- Contact pages
- Terms and conditions
- Privacy policy
Creating Static Pages
You can create static pages in two ways:
- Next.js Pages: Create pages in the
app
directory - MDX Pages: Create MDX files in the
content/pages
directory
Example Static Page (Next.js)
Example Static Page (MDX)
Documentation
NestSaaS includes a documentation system based on MDX files, perfect for:
- Product documentation
- Knowledge bases
- Tutorials
- API documentation
Documentation Structure
Documentation is stored in the content/docs
directory, organized into folders:
Learn more about documentation
Content Organization
Categories and Tags
Categories and tags help organize your content:
- Categories: Broad groupings for content (e.g., "Technology", "Marketing")
- Tags: More specific labels (e.g., "React", "SEO", "Tutorial")
Navigation
Configure navigation menus in the config/navigation.ts
file:
SEO Optimization
NestSaaS includes built-in SEO features:
- Metadata management
- Open Graph tags
- JSON-LD structured data
- Sitemaps
- RSS feeds
Configure default SEO settings in config/site.ts
:
Next Steps
- Blog Configuration - Detailed blog setup
- Page Templates - Creating custom page templates
- SEO Best Practices - Optimizing your content for search engines