mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Using titleforpage extension method on the title
--HG-- branch : 1.x
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
@using Orchard.Localization;
|
||||
@using Orchard.Mvc.Html;
|
||||
|
||||
<h1 id="page-title">@Model.Title</h1>
|
||||
<h1 id="page-title">@Html.TitleForPage((string)Model.Title.ToString())</h1>
|
||||
Reference in New Issue
Block a user