Jump to:

1384 Posts in 493 Topics by 522 members

Themes

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: 1832 Views
  • yurigoul
    Avatar
    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
    Avatar
    Community Member
    62 Posts

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

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

    1832 Views
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.