This project is read-only.

Replacement for Document.cshtml that allows adding markup to the <head> tag?

Topics: Customizing Orchard, General
Aug 7, 2013 at 4:14 AM
I have read a couple of posts on StackOverflow stating that Document.cshtml, which is located in your theme, can be used to add markup to the <head> tag. However, I am not seeing this file in version 1.7. Is there indeed a file such as this that would allow me to make these types of edits?
Aug 7, 2013 at 4:22 AM
There is, you just need to override it in your theme. Copy over Document.cshtml from Orchard.Core/Shapes/Views to the Views folder of your theme and make changes as needed.
Aug 7, 2013 at 4:50 AM
Thank you.