Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sitemap Errors - Missing Partial TestPartial.cshtml #4

Open
warrenbuckley opened this issue Nov 13, 2023 · 0 comments
Open

Sitemap Errors - Missing Partial TestPartial.cshtml #4

warrenbuckley opened this issue Nov 13, 2023 · 0 comments

Comments

@warrenbuckley
Copy link

warrenbuckley commented Nov 13, 2023

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>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant