Skip to content

Commit

Permalink
Don't collapse everything in Archive Page
Browse files Browse the repository at this point in the history
  • Loading branch information
linkdotnet committed Jun 19, 2024
1 parent 2eca7c7 commit 21cd12c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/LinkDotNet.Blog.Web/Features/Archive/ArchivePage.razor
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
@yearGroup.Key <span class="badge bg-primary ms-2">@yearGroup.Count()</span>
</button>
</h2>
<div id="@CollapseKey(yearGroup.Key)" class="accordion-collapse collapse show" aria-labelledby="@HeadingKey(yearGroup.Key)" data-bs-parent="#archiveAccordion">
<div id="@CollapseKey(yearGroup.Key)" class="accordion-collapse collapse show" aria-labelledby="@HeadingKey(yearGroup.Key)">
<div class="accordion-body">
<ul class="list-group">
@foreach (var blogPost in yearGroup.OrderByDescending(b => b.UpdatedDate))
Expand Down

0 comments on commit 21cd12c

Please sign in to comment.