|
|
|
@ -10,11 +10,11 @@
|
|
|
|
|
<abp-card>
|
|
|
|
|
<abp-card-header>
|
|
|
|
|
<abp-card-title>@Model.Title</abp-card-title>
|
|
|
|
|
<abp-card-subtitle>@@@Model.Creator?.UserName</abp-card-subtitle>
|
|
|
|
|
<abp-card-subtitle>@Model.Creator?.UserName</abp-card-subtitle>
|
|
|
|
|
</abp-card-header>
|
|
|
|
|
|
|
|
|
|
<abp-card-body>
|
|
|
|
|
<img src="/api/cms-kit-public/blog-posts/@Model.Id/cover-image" class="card-img-top" onerror="this.src='https://dummyimage.com/300x200/a3a3a3/fff.png'" />
|
|
|
|
|
@*<img src="/api/cms-kit-public/blog-posts/@Model.Id/cover-image" class="card-img-top" style="max-width:200px;max-height:200px;" onerror="this.src='https://dummyimage.com/300x200/a3a3a3/fff.png'" />*@
|
|
|
|
|
@await Component.InvokeAsync(typeof(ContentViewComponent), new
|
|
|
|
|
{
|
|
|
|
|
entityType = Volo.CmsKit.Blogs.BlogPostConsts.EntityType,
|
|
|
|
|