25 lines
718 B
Markdown
25 lines
718 B
Markdown
|
|
# List Templates
|
|||
|
|
|
|||
|
|
FolderWeb includes several list templates you can use for different presentation styles.
|
|||
|
|
|
|||
|
|
This section demonstrates the different templates by using subdirectories. Each subdirectory below uses a different template via `metadata.ini`.
|
|||
|
|
|
|||
|
|
## Available Templates
|
|||
|
|
|
|||
|
|
**list.php** – Default linear list with optional cover images
|
|||
|
|
|
|||
|
|
**list-grid.php** – Grid layout with cards, great for galleries or portfolios
|
|||
|
|
|
|||
|
|
**list-compact.php** – Minimal list showing just titles and dates
|
|||
|
|
|
|||
|
|
## Choosing a Template
|
|||
|
|
|
|||
|
|
In any folder's `metadata.ini`, add:
|
|||
|
|
|
|||
|
|
```ini
|
|||
|
|
[settings]
|
|||
|
|
page_template = "list-grid"
|
|||
|
|
```
|
|||
|
|
|
|||
|
|
The three subdirectories below each use a different template. Compare them to see which fits your content best.
|