Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 903
s9gf4ult Avatar asked Jan 15 '16 07:01

s9gf4ult


1 Answers

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

like image 73
zakyggaps Avatar answered Oct 18 '22 17:10

zakyggaps