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:
@@ -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" }}
|
||||
|
||||
Reference in New Issue
Block a user