empty_segment
Diagnostic `nanook::template::empty_segment`
Summary
empty path segment
Help
each . must be followed by a field name; each [ must hold a key
Details
When this fires
A path inside {{ ... }} has a . with no field after it, or a [] with no key inside. The parser flags the dangling segment so you don't get a confusing render error later.
What to check
Every . needs a field name, every [ needs a key (string, number, or path) before its ]. Trailing dots from copy-paste are the usual culprit.
broken:
broken:
fixed:
fixed: