fix: remove redundant article tag
This commit is contained in:
parent
95dd7e51e5
commit
2036970fa2
|
@ -60,20 +60,18 @@
|
||||||
|
|
||||||
<p>@Html.Raw(BlogService.GetExcerpt(post, out bool trimmed))</p>
|
<p>@Html.Raw(BlogService.GetExcerpt(post, out bool trimmed))</p>
|
||||||
|
|
||||||
<article>
|
@if (trimmed)
|
||||||
@if (trimmed)
|
{
|
||||||
{
|
<p>
|
||||||
<p>
|
<a asp-page="/blog/article"
|
||||||
<a asp-page="/blog/article"
|
asp-route-year="@year"
|
||||||
asp-route-year="@year"
|
asp-route-month="@month"
|
||||||
asp-route-month="@month"
|
asp-route-day="@day"
|
||||||
asp-route-day="@day"
|
asp-route-slug="@post.Slug">
|
||||||
asp-route-slug="@post.Slug">
|
Read more...
|
||||||
Read more...
|
</a>
|
||||||
</a>
|
</p>
|
||||||
</p>
|
}
|
||||||
}
|
|
||||||
</article>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue