Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

Themes

Discuss SilverStripe Themes.

Moderators: martimiz, Sean, biapar, Willr, Ingo, swaiba, simon_w

.ss files, comments and empty lines


Reply

2 Posts   1853 Views

Avatar
yurigoul

11 November 2009 at 8:31am Community Member, 202 Posts

I know I can add normal html comments to my .ss files, but I was wondering if there are also special .ss comments, and I would then prefer those comments to disappear when rendered in my site.

Right now the files my site renders are full with html comments and empty lines, and I just want my code to look beautiful:-)

(I know I can just remove all the formatting and comments when I am done, but that will render my .ss code less readable.)

Avatar
Graphicator

6 April 2011 at 2:13pm (Last edited: 19 August 2011 10:58pm), Community Member, 62 Posts

It is... <%-- comment --%>