Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Damian Green 452 posts 1433 karma points
    Nov 30, 2012 @ 13:25
    Damian Green
    0

    Sitemap tweak

    It would probably be a good idea to add a check for protected content to the sitemap:

       if (!Umbraco.IsProtected(c.Id, c.Path))
           {
              <li>     
               <a href="@c.NiceUrl()">@c.Name</a>
               @traverse(c)
              </li>           
           }
  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies