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 4843 posts 14347 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!

Please Sign in or register to post replies

Write your reply to:

Draft