mirror of
https://github.com/alexhopeoconnor/DFTE.git
synced 2026-10-22 14:47:48 +10:00
Add examples and expand README for release
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
# 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
|
||||
```
|
||||
|
||||
Open the serial monitor at 115200 baud to inspect the rendered output.
|
||||
|
||||
Reference in New Issue
Block a user