Copied to clipboard

Flag this post as spam?

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


  • Trevor Loader 199 posts 256 karma points
    May 12, 2011 @ 01:18
    Trevor Loader
    0

    Razor version "priority" bug

    The razor version has a copy/paste error in the script.

    @if (node.SearchEngineSitemapChangeFreq.ToString(!= "")
    {
       <changefreq>@node.SearchEngineSitemapChangeFreq</changefreq>
    }
    @if (node.SearchEngineSitemapPriority.ToString(!= "")
    {
       <changefreq>@node.SearchEngineSitemapPriority</changefreq>
    }

    The bold highlighted above should be <priority> and </priority>

  • Sebastiaan Janssen 4899 posts 14655 karma points MVP admin hq
    May 24, 2011 @ 15:30
    Sebastiaan Janssen
    0

    Fixed in v 1.0.2 (just released). Thanks for the report!

  • 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