mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2025-10-15 19:54:57 +08:00
Getting Blogs onto the new UI composotion model
--HG-- branch : dev
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
@{
|
||||
IEnumerable<object> blogPosts = Model.BlogPosts;
|
||||
}
|
||||
@Display(blogPosts)
|
||||
@Display(ContentItems)
|
||||
@if (blogPosts == null || blogPosts.Count() < 1) {
|
||||
<p>@T("There are no posts for this blog.")</p>
|
||||
}
|
||||
}
|
||||
|
||||
hi
|
Reference in New Issue
Block a user