[web-devel] [Yesod] Nesting widgets

Mats Rauhala mats.rauhala at gmail.com
Tue Jun 7 13:18:09 CEST 2011


Apparently it was some sort of fail on my part (or old version?), since
now that I tested it again, it worked fine. So disregard everything I
said earlier :P.

head_ = [hamlet|
  <head>
    <title>Foo
  |]
page = renderHtml [hamlet|
  <html>
    ^{head_}
  <body>
    <p>Hello world
  |]


-- 
Mats Rauhala
MasseR
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://www.haskell.org/pipermail/web-devel/attachments/20110607/0868e935/attachment.pgp>


More information about the web-devel mailing list