mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-09-22 20:13:50 +08:00
- Finish up live writer support for blogs.
--HG-- branch : dev
This commit is contained in:
@@ -14,6 +14,7 @@ namespace Orchard.Blogs.Models {
|
||||
|
||||
public string Title {
|
||||
get { return this.As<RoutableAspect>().Title; }
|
||||
set { this.As<RoutableAspect>().Title = value; }
|
||||
}
|
||||
|
||||
public string Slug {
|
||||
@@ -21,6 +22,11 @@ namespace Orchard.Blogs.Models {
|
||||
set { this.As<RoutableAspect>().Slug = value; }
|
||||
}
|
||||
|
||||
public string Text {
|
||||
get { return this.As<BodyAspect>().Text; }
|
||||
set { this.As<BodyAspect>().Text = value; }
|
||||
}
|
||||
|
||||
public Blog Blog {
|
||||
get { return this.As<ICommonAspect>().Container.As<Blog>(); }
|
||||
set { this.As<ICommonAspect>().Container = value; }
|
||||
@@ -50,6 +56,10 @@ namespace Orchard.Blogs.Models {
|
||||
}
|
||||
}
|
||||
|
||||
public DateTime? CreatedUtc {
|
||||
get { return this.As<ICommonAspect>().CreatedUtc; }
|
||||
}
|
||||
|
||||
public DateTime? PublishedUtc {
|
||||
get { return this.As<ICommonAspect>().VersionPublishedUtc; }
|
||||
}
|
||||
|
Reference in New Issue
Block a user