Night Mode Card
Calm, focused, and winding down. Built at 20:58:34.
Please don't actually do this. But here's proof that you could. This page pushes token composition further than you'd want in production.
The card below was selected via a three-step chain: datetime resolves
am_pm, data maps that to a card block name, and the blocks
step expands it. AM builds get the bright card; PM builds get the muted one.
Calm, focused, and winding down. Built at 20:58:34.
This section's CSS class changes based on the day of the week. Datetime resolves the day abbreviation, data maps it to a CSS class name. Seven different classes — one template attribute.
Monday: Fresh week, fresh start.
SSI will happily process as many chained levels as you define — as long as the step order is correct. But every level you add is a level of confusion when something goes wrong. The day-based section above requires seven data keys just for a class name.
At some point, a small script is the right tool. SSI composition is for build-time variation, not application logic.