This project is read-only.

Homepage template naming

Jan 24, 2011 at 9:51 PM


Someone in the comments to my theming blog post suggested that I could use Content-Homepage.cshtml instead of Content-11.cshtml to template the content on my homepage. The content has an ID of 11, but Content-Homepage would be neater and more obvious.

This doesn't work and I can't find any reference to it as a way to address a template. Should I be able to do this or was the commenter mistaken?


Richard Garside.

Jan 24, 2011 at 10:14 PM

You need to add that alternate for it to work. Read this: