refactor: make article-list/compact better for term pages (#1289)

* refactor: rename article-time class to article-footer for consistency

* feat: show the number of subpages in `article-compact` when the page is a term
This commit is contained in:
Jimmy
2026-03-05 13:43:55 +01:00
committed by GitHub
parent 230a28fa8d
commit 12f05571cf
4 changed files with 21 additions and 9 deletions
@@ -32,7 +32,7 @@
{{ $showDate := not $Page.Date.IsZero }}
{{ $showFooter := or $showDate $showReadingTime }}
{{ if $showFooter }}
<footer class="article-time">
<footer class="article-footer">
{{ if $showDate }}
<div>
{{ partial "helper/icon" "date" }}