We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum

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

  • 5 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!