XF 2.1 How do I add comment to template so that comments are visible in html on rendered pages?

Chromaniac

Well-known member
I am trying to make some changes to a template. I want to add comments to the code that appears as HTML comments on the forum page code so that I can see where the code is being rendered. They seem to disappear on the rendered HTML. I am probably doing something stupid. Any guidance would be appreciated! Thanks.
 
I was always under the impression that if you use normal html comment ie
Code:
<!--some comment-->
then it will be visible in the page source but the xenforo comment <xf:comment> will not be
 
Back
Top Bottom