Skip to content

Commit

Permalink
fix archive list UI
Browse files Browse the repository at this point in the history
  • Loading branch information
EdiWang committed Sep 30, 2023
1 parent e549e1b commit c860b2c
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/Moonglade.Web/Pages/ArchiveList.cshtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
@page "/post/{year:int:length(4)}/{month:int:range(1,12)?}"
@model Moonglade.Web.Pages.ArchiveListModel
@{
ViewBag.TitlePrefix = $"All Posts in {Model.ArchiveInfo}";
ViewBag.TitlePrefix = $"Posts in {Model.ArchiveInfo}";
ViewBag.BodyClass = "body-archive-list bg-gray-1";
}

Expand All @@ -21,8 +21,6 @@
foreach (var item in Model.Posts.OrderByDescending(s => s.PubDateUtc))
{
<partial name="_PostListEntry" model="item" />
<div class="mb-4 d-none d-md-block"></div>
<hr class="d-none d-md-block" />
}
}
</div>
Expand Down

0 comments on commit c860b2c

Please sign in to comment.