How to make a new templeate inherit _BaseLayout.cshtml?

Dec 2, 2014 at 3:41 AM
Edited Dec 2, 2014 at 8:24 AM
eg. HomePageLayout.cshtml ,AboutUsLayout.cshtml .

I want to main skin inherit _baseLayout.cshtml,But Content has different skin.

Looking forward to your reply. Thanks.

Image
Coordinator
Dec 2, 2014 at 8:32 AM
At the top if your nested layout simply reference the parent as so:

@{
Layout = "_BaseLayout.cshtml.cshtml";
}
Dec 2, 2014 at 4:00 PM
Admin pannel, I had add a new Layout. and vs project also add the same name's page as cshtml,but page manage,layout only 'Default Template',why?

Image