This project is read-only.

Problem creating my own theme - html getting mangled

Topics: Customizing Orchard, Troubleshooting, Writing themes
May 12, 2011 at 7:52 PM

I followed the instructions here: to create my own theme and then copied the Branding.cshtml file from the "TheThemeMachine" theme to MyTheme.  I then tried to insert html like this:

<div><a href="@homeUrl">Test</a></div>

But for some reason the html is actually getting rendered as:

<a href="t "="">Test</a href="t>

"t" is the virtual directory I have Orchard installed in. 

Anyone see this before?  What am I missing?