Jesús Pérez 0aeaa33d9a
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
chore: update gitignore and fix content
2026-02-08 20:09:38 +00:00

68 lines
1.2 KiB
Markdown

# 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:
```markdown
# My First Post
Date: 2024-01-01
Author: {{author}}
Tags: rustelo, web-development
Your content here...
```
### Pages
Add static pages to `pages/` directory:
```markdown
# About
This is the about page for {{project_name}}.
```
### Navigation
Edit `menu.toml` to customize site navigation:
```toml
[[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:
1. Adding new directories for different content types
2. Customizing front matter fields
3. Creating content templates
4. Adding content processing hooks