13 Feb
2011
13 Feb
'11
5:59 a.m.
Hello,
From what I could gather, the way to create a link to a static page, like a picture is:
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?