fix: remove redundant article tag

This commit is contained in:
Oliver Booth 2023-08-10 04:56:28 +01:00
parent 95dd7e51e5
commit 2036970fa2
Signed by: oliverbooth
GPG Key ID: 725DB725A0D9EE61
1 changed files with 12 additions and 14 deletions

View File

@ -60,20 +60,18 @@
<p>@Html.Raw(BlogService.GetExcerpt(post, out bool trimmed))</p>
<article>
@if (trimmed)
{
<p>
<a asp-page="/blog/article"
asp-route-year="@year"
asp-route-month="@month"
asp-route-day="@day"
asp-route-slug="@post.Slug">
Read more...
</a>
</p>
}
</article>
@if (trimmed)
{
<p>
<a asp-page="/blog/article"
asp-route-year="@year"
asp-route-month="@month"
asp-route-day="@day"
asp-route-slug="@post.Slug">
Read more...
</a>
</p>
}
</div>
</div>