Skip to content

Sitemap Errors - Missing Partial TestPartial.cshtml #4

@warrenbuckley

Description

@warrenbuckley

Seems like just a missing partial for /Sitemap node @mattbrailsford

Error

image

Sitemap.cshtml

@inherits UmbracoViewPage
@{
    Layout = null;

    // New
    Context.Response.ContentType = "text/xml";

    // Old
    //Response.ContentType = "text/xml";
}

<xml>
    @(await Html.PartialAsync("TestPartial"))
</xml>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions