Jump to:

1382 Posts in 492 Topics by 521 members


SilverStripe Forums » Themes » .ss files, comments and empty lines

Discuss SilverStripe Themes.

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

Page: 1
Go to End
Author Topic: 1829 Views
  • yurigoul
    Community Member
    202 Posts

    .ss files, comments and empty lines Link to this post

    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.)

  • Graphicator
    Community Member
    62 Posts

    Re: .ss files, comments and empty lines Link to this post

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

Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.