build: the way down the tree is the link at the foot

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GT37Z1Xtfd9pUuQtMTg6Yt
This commit is contained in:
Bendik Aagaard Lynghaug
2026-09-29 21:23:05 +02:00
co-authored by Claude Fable 5.1
parent 5e53485de5
commit 02235a7ef1
+4 -4
View File
@@ -1643,10 +1643,10 @@ pub fn render(plan: &Plan, words: &BTreeMap<String, Value>) -> anyhow::Result<BT
} }
for need in &plan.needs { for need in &plan.needs {
// No "back" alternative: portal's way down the tree (the arrow at // No "back" alternative: portal's way down the tree (the link at
// the left and the link at the foot) takes a visitor // the foot of every page) takes a visitor one level down from
// one level down from any page, here to the front door or, after // any page, here to the front door or, after an internal form,
// an internal form, to the group's desk. // to the group's desk.
let path = match &need.enters_as { let path = match &need.enters_as {
None => format!("questions/received/{}.yaml", need.id), None => format!("questions/received/{}.yaml", need.id),
Some(group) => format!("questions/{group}/{}-sent.yaml", need.id), Some(group) => format!("questions/{group}/{}-sent.yaml", need.id),