{{! Simple example !}} {{> doc/t ~}} {{~> doc/head title = "Actix web" ~}} {{~#if let Some(name) = query.get("name") }} {{ let lastname = query.get("lastname").ok_or(yarte::Error)? }} {{> card/hi ~}} {{ else ~}} {{> card/form ~}} {{/if ~}}