mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
Some work on page title generation including usage of the SiteName (site setting)
--HG-- extra : convert_revision : svn%3A5ff7c347-ad56-4c35-b696-ccb81de16e03/trunk%4044449
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
using System;
|
||||
using Orchard.Core.Settings.Records;
|
||||
using Orchard.Core.Settings.Records;
|
||||
using Orchard.ContentManagement;
|
||||
using Orchard.Settings;
|
||||
|
||||
|
||||
@@ -1,5 +1,4 @@
|
||||
using System.Collections.Generic;
|
||||
using System.Web.Mvc;
|
||||
using System.Web.Mvc;
|
||||
using Orchard.ContentManagement;
|
||||
using Orchard.ContentManagement.ViewModels;
|
||||
using Orchard.Mvc.ViewModels;
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
|
||||
<title><%=Html.Title("site name") %></title><%
|
||||
<title><%=Html.Title() %></title><%
|
||||
Html.Zone("head", ":metas :styles :scripts"); %>
|
||||
</head>
|
||||
<body><%
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
Html.RegisterStyle("site.css"); %>
|
||||
<div class="page">
|
||||
<div id="header">
|
||||
<div id="title"><h1>My MVC Application</h1></div><%
|
||||
<div id="title"><h1><%=Html.TitleForPage(Html.SiteName()) %></h1></div><%
|
||||
Html.Zone("header");
|
||||
Html.Zone("menu"); %>
|
||||
<%-- todo:(nheskew) this will need to all go in the header zone (user widget) --%>
|
||||
|
||||
@@ -5,7 +5,7 @@ Html.RegisterStyle("site.css");
|
||||
%>
|
||||
<div class="page">
|
||||
<div id="header">
|
||||
<div id="title"><h1><%//Html.SiteName(); %></h1></div><%
|
||||
<div id="title"><h1><%=Html.TitleForPage(Html.SiteName()) %></h1></div><%
|
||||
Html.Zone("header");
|
||||
Html.Zone("menu"); %>
|
||||
<%-- todo:(nheskew) this will need to all go in the header zone (user widget) --%>
|
||||
|
||||
Reference in New Issue
Block a user