sunng87 / handlebars-rust

Rust templating with Handlebars

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

{{include components/cover foo="bar"}} not working

kiuma opened this issue · comments

Hi I'm using HelperDef to use an include without the {{> }} syntax so that vs code is happy
I want also to add custom attributes but

while this works (I've two params):
{{include components/cover foo}}
this doesn't (I've just one param)
{{include components/cover foo="bar"}}

why ?

I've to use Helper::hash_get