mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2025-09-01 17:27:34 -05:00
- 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.
22 lines
623 B
HTML
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>
|