Some checks failed
CI/CD Pipeline / Test Suite (push) Has been cancelled
CI/CD Pipeline / Security Audit (push) Has been cancelled
CI/CD Pipeline / Build Docker Image (push) Has been cancelled
CI/CD Pipeline / Deploy to Staging (push) Has been cancelled
CI/CD Pipeline / Deploy to Production (push) Has been cancelled
CI/CD Pipeline / Performance Benchmarks (push) Has been cancelled
CI/CD Pipeline / Cleanup (push) Has been cancelled
1.2 KiB
1.2 KiB
Content Directory
This directory contains your site's content files. The basic template provides a simple content structure that you can customize.
Structure
content/
├── blog/ # Blog posts
├── pages/ # Static pages
├── menu.toml # Site navigation
└── config.toml # Content configuration
Usage
Blog Posts
Add markdown files to blog/ directory:
# My First Post
Date: 2024-01-01
Author: {{author}}
Tags: rustelo, web-development
Your content here...
Pages
Add static pages to pages/ directory:
# About
This is the about page for {{project_name}}.
Navigation
Edit menu.toml to customize site navigation:
[[main]]
name = "Home"
url = "/"
[[main]]
name = "Blog"
url = "/blog"
[[main]]
name = "About"
url = "/about"
Content Processing
Content is processed by the Rustelo content system, which supports:
- Markdown rendering
- Front matter parsing
- Automatic routing
- SEO optimization
- Search indexing (if enabled)
Customization
You can extend the content structure by:
- Adding new directories for different content types
- Customizing front matter fields
- Creating content templates
- Adding content processing hooks