Encoding directly the site name in the default header template

Instead of getting the encoding from Html.TitleForPage which also adds the title to the page title...something not needed here

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-03-09 22:25:06 -08:00
parent b5bf9cf6f4
commit e7dbae2796

View File

@@ -1,2 +1,2 @@
<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl" %>
<div id="title"><%=Html.TitleForPage(Html.SiteName()) %></div>
<div id="title"><%=Html.Encode(Html.SiteName()) %></div>