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:
skewed
2009-12-22 15:25:22 +00:00
parent c304c5cd39
commit 4dca9982f6
9 changed files with 32 additions and 13 deletions

View File

@@ -1,5 +1,4 @@
using System;
using Orchard.Core.Settings.Records;
using Orchard.Core.Settings.Records;
using Orchard.ContentManagement;
using Orchard.Settings;

View File

@@ -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;

View File

@@ -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><%

View File

@@ -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) --%>

View File

@@ -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) --%>