Reorganize series page list and series summary card class names

- Use namespaced class names to prevent accidental name collisions in
  the future
- Clean up whatever the hell I was doing with the flex config on the
  outer series list. I have no clue why it's set up as a wrapping row,
  or what the border radius is for. It seems to look the same if I just
  make it a page-list that gets its gap overridden.
- Remove page.series wrapper around the summary card render which was
  accidentally left in after 8eb343132c6b57f692f87a72a5aca1bc9c563d1b.
This commit is contained in:
2025-09-01 01:37:26 -05:00
parent 8e22007bfd
commit c02ceb2dc4
3 changed files with 6 additions and 14 deletions

View File

@@ -13,7 +13,7 @@
</div>
{{ end }}
<div class="page-list series-inner">
<div class="page-list page-list--series-inner">
{{ range .Data.Pages.Reverse }}
{{ .Render "summary" }}
{{ end }}

View File

@@ -10,12 +10,10 @@
{{ . }}
{{ end }}
<div class="page-list series">
<div class="page-list page-list--series">
{{ with .Paginator.Pages }}
{{ range . }}
<div class="page series">
{{ .Render "summary" }}
</div>
{{ .Render "summary" }}
{{ end }}
{{ else }}
<div>