mirror of
https://github.com/actix/examples
synced 2025-06-27 01:27:43 +02:00
restructure folders
This commit is contained in:
8
templating/yarte/templates/index.hbs
Normal file
8
templating/yarte/templates/index.hbs
Normal file
@ -0,0 +1,8 @@
|
||||
{{#> base title = "Actix Web" }}
|
||||
{{~#if let Some(name) = query.get("name") }}
|
||||
{{ let lastname = query.get("lastname").ok_or(MyErr("Bad query"))? }}
|
||||
{{> card/hi ~}}
|
||||
{{ else ~}}
|
||||
{{> card/form ~}}
|
||||
{{/if ~}}
|
||||
{{/base }}
|
Reference in New Issue
Block a user