No subject

StaticR $ StaticRoute ["figure.png"] []
I wanted to add a static picture in my site's template so I added
<img alt="" src=@{StaticR $ StaticRoute ["figure.png"] []}>
to my template. Unfortunately, that didn't work. It seems like creating
lists inside @{} or even #{} is impossible. For instance
#{head ["test"]}
doesn't work either.
Is that a bug? Or is it how it's supposed to work?