Forum

Thread tagged as: Question, Suggestions

Suppressing output of html comments from perch templates

Is there a perch specific way to suppress html comments from being output from templates?

The templates are .html files so html <!-- comments --> make sense but in many cases they have no context in the output and simply add to the page bloat.

Adam Green

Adam Green 0 points

  • 6 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support

In the next version of Perch (v2.8) there are template comments like this:

<!--* comment *-->

Fantastic, thanks!