12

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?

s9gf4ult
  • 862
  • 6
  • 20

1 Answers1

8

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

max taldykin
  • 12,459
  • 5
  • 45
  • 64
zakyggaps
  • 3,070
  • 2
  • 15
  • 25