mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-23 04:43:35 +08:00
Bug fix
--HG-- branch : dev
This commit is contained in:
@@ -6,7 +6,7 @@
|
|||||||
Script.Include("html5.js").AtLocation(ResourceLocation.Head);
|
Script.Include("html5.js").AtLocation(ResourceLocation.Head);
|
||||||
|
|
||||||
//a bit opinionated - only the site name on the homepage
|
//a bit opinionated - only the site name on the homepage
|
||||||
var title = (Request.Path != Request.ApplicationPath && !string.IsNullOrWhiteSpace((string)Model.Title)
|
var title = (Request.Path != Request.ApplicationPath && HasText(Model.Title)
|
||||||
? Model.Title + WorkContext.CurrentSite.PageTitleSeparator
|
? Model.Title + WorkContext.CurrentSite.PageTitleSeparator
|
||||||
: "") +
|
: "") +
|
||||||
WorkContext.CurrentSite.SiteName;
|
WorkContext.CurrentSite.SiteName;
|
||||||
|
Reference in New Issue
Block a user