Update README to explain multi-file page functionality Add example content files demonstrating the feature Improve folder type detection logic Implement new routing for page-type folders Add support for mixed content types in single pages Update navigation and metadata handling for multi-file pages Remove legacy frontpage.php in favor of multi-file approach Improve file-based routing documentation Add examples of different content types working together Update router to handle multi-file content rendering Implement proper sorting of content files Add best practices for multi-file content organization
15 lines
519 B
Markdown
15 lines
519 B
Markdown
## Core Concepts
|
|
|
|
### File-Based Routing
|
|
|
|
Drop a file in a folder and it's instantly accessible at a URL matching that path. Your folder structure becomes your URL structure.
|
|
|
|
### Multiple Content Types
|
|
|
|
- **Markdown** - Write in `.md` files, automatically converted to HTML
|
|
- **HTML** - Pure HTML files for complete control
|
|
- **PHP** - Dynamic content when you need it
|
|
|
|
### Multi-File Pages
|
|
|
|
Any folder without subfolders renders all content files (`.md`, `.html`, `.php`) in alphanumerical order. Mix formats freely!
|