Blog
The blog system uses MDX files for content and JSON files for author and category information. This documentation covers the structure, configuration, and implementation details of the blogging system.
Configuration
The blog files are located in the content/
directory.
Authors are defined in JSON files located in the authors/
directory.
Categories are defined in JSON files located in the categories/
directory.
Posts are defined in JSON files located in the post/
directory.
Frontmatter Configuration
Each blog post must include a frontmatter section at the top of the MDX file with the following properties:
Working with MDX
MDX supports regular markdown syntax plus React components. Launch Express uses the next-mdx-remote libary to process MDX files.
Media Integration
YouTube Integration
Twitter Integration
Reddit Integration
Loom Integration
Images
You can include images in two ways:
-
Local Images
- Place images in the
public/images/
directory - Reference images using the
/images/
path
- Place images in the
-
External Images
- Reference images using the full URL
RSS Feed Support
The blog system includes an RSS feed that is automatically generated from the blog posts. The feed is available in the RSS 2.0, Atom, and JSON format.
SEO Considerations
-
Metadata
- Write descriptive titles
- Include meaningful descriptions
- Use appropriate categories
-
URLs
- Generated from file names
- Keep them short and descriptive
- Use hyphens for word separation
-
Images
- Include alt text
- Optimize for web
- Use descriptive file names
Was this page helpful?