templateshaskellyesodhamletshakespeare-text

What is the comment syntax in Yesod (hamlet) templates?


I just can not find how to comment line in hamlet template. Is there some syntax for comments? Like

-- <p>Some code should be ignored by template

or something?


Solution

  • In the latest version the line comment starts with $#, also ordinary html comment delimited by <!-- and --> is available. Check it in the source file.