I'm creating a content page in Umbraco and for that I have created a document type and a template. But the content page do not show any mark-up, it just shows an empty page.
Please help me. Below is my code and description of steps:
Created a template
uBase
@inherits Umbraco.Web.Mvc.UmbracoTemplatePage @{ Layout = null; } <!DOCTYPE html> <html class="no-js nonlegacyIE" lang="en"> <!--<![endif]--> <head> </head> <body class="@ViewBag.BodyTagClass"> @RenderBody() @RenderSection("Scripts", required: false) </body> </html>
Created a document type
Content
with no custom property, it usesuBase
as described below:Next I m just creating a content by clicking Content > CREATE AN ITEM UNDER CONTENT > Content.
Issue is when I publish and preview this page it does not show anything. Even its page behind mark-up doesn't have anything, not even a single tag.
Please help I have spent much time but still no luck :(
EDIT: Here is my content page properties: