This commit is contained in:
@@ -30,6 +30,7 @@ robots = read("src/TaxBaik.Web/wwwroot/robots.txt")
|
||||
require("Layout = null" in sitemap_view, "sitemap.xml must render without the HTML layout")
|
||||
require("Layout = null" in rss_view, "rss.xml must render without the HTML layout")
|
||||
require("Html.Raw(rssContent.ToString())" in rss_view, "RSS XML must not be HTML-encoded")
|
||||
require("Model.Items" in rss_view, "RSS view must render from the combined feed items")
|
||||
require("StatusCodes.Status308PermanentRedirect" in feed_view, "feed.xml must permanently redirect to rss.xml")
|
||||
require("DateTime.UtcNow:yyyy-MM-dd" not in sitemap_view, "sitemap lastmod must not use the current request date")
|
||||
require("GetAllPublishedPostsAsync" in sitemap_model, "sitemap must page through all published blog posts")
|
||||
|
||||
Reference in New Issue
Block a user