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   1949 Views

Avatar
yurigoul

Community Member, 202 Posts

11 November 2009 at 8:31am

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

Community Member, 62 Posts

6 April 2011 at 2:13pm

Edited: 19/08/2011 10:58pm

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