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
24 lines
557 B
Markdown
24 lines
557 B
Markdown
## File Naming Examples
|
|
|
|
Here are some example naming patterns:
|
|
|
|
```
|
|
/my-page/
|
|
00-introduction.md
|
|
01-getting-started.md
|
|
02-advanced-topics.html
|
|
03-conclusion.php
|
|
```
|
|
|
|
Files render in this order:
|
|
1. `00-introduction.md`
|
|
2. `01-getting-started.md`
|
|
3. `02-advanced-topics.html`
|
|
4. `03-conclusion.php`
|
|
|
|
## Folder Types
|
|
|
|
FolderWeb automatically determines folder type:
|
|
|
|
- **Page-type folder**: No subdirectories → Renders all content files as a single page
|
|
- **Article-type folder**: Has subdirectories → Shows list view with links to subdirectories
|