mirror of
https://github.com/OrchardCMS/Orchard.git
synced 2026-02-09 09:16:41 +08:00
8 lines
504 B
Plaintext
8 lines
504 B
Plaintext
@using Orchard.Blogs.Extensions;
|
|
@using Orchard.Blogs.Models;
|
|
@using Orchard.Core.Common.Extensions;
|
|
@using Orchard.Core.Common.Models;
|
|
@using Orchard.Core.Common.ViewModels;
|
|
<h2>@Html.Link((string)Model.Title, Url.BlogPost((BlogPostPart)Model.ContentItem.Get(typeof(BlogPostPart))))</h2>
|
|
<div class="meta">@Html.PublishedState(new CommonMetadataViewModel((CommonPart)Model.ContentItem.Get(typeof(CommonPart))), T) | @Display(Model.Meta)</div>
|
|
<div class="content">@Display(Model.Content)</div> |