mirror of
https://github.com/alexhopeoconnor/DFTE.git
synced 2026-10-03 22:21:59 +10:00
21 lines
751 B
Markdown
21 lines
751 B
Markdown
# Nested Layouts
|
|
|
|
Demonstrates nested templates, conditional placeholders, and iterator-driven sections without a web server dependency. Ideal for learning how DFTE composes complex layouts on memory-constrained boards.
|
|
|
|
Highlights:
|
|
- Shared header/footer partials referenced via `%HEADER%` and `%FOOTER%`
|
|
- Conditional placeholder toggling a "maintenance" banner
|
|
- Iterator rendering a list of subsystem status entries with per-item overrides
|
|
|
|
## Build
|
|
|
|
```
|
|
pio run -d examples/NestedLayouts -e example_esp8266
|
|
pio run -d examples/NestedLayouts -e example_esp32
|
|
```
|
|
|
|
See the shared [examples guide](../README.md) and [template-language guide](../../docs/TEMPLATE_LANGUAGE.md).
|
|
|
|
Open the serial monitor at 115200 baud to inspect the rendered output.
|
|
|