Files
bobatheme/layouts/series/summary.html
BBaoVanC c02ceb2dc4 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.
2025-09-01 02:45:12 -05:00

22 lines
623 B
HTML

<article class="summary-card">
<h2 class="summary-card-title">
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
</h2>
{{ partial "page-metadata/series.html" . }}
{{ with .Summary }}
<div class="summary-card-description">
{{ . }}
</div>
{{ end }}
<div class="page-list page-list--series-inner">
{{ range .Data.Pages.Reverse }}
{{ .Render "summary" }}
{{ end }}
</div>
</article>