Skip to content

Commit 8b0ba71

Browse files
authored
add number of articles to all docs list (github#19456)
1 parent cf965e0 commit 8b0ba71

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

components/landing/ProductArticlesList.tsx

+4
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,10 @@ const ArticleList = ({ page }: { page: CurrentProductTree }) => {
4949
<Link href={grandchildPage.href}>
5050
<a>{grandchildPage.page.title}</a>
5151
</Link>
52+
{grandchildPage.page.documentType === 'mapTopic' ? (
53+
<small className="color-text-secondary d-inline-block">
54+
&nbsp;&bull; {page.childPages.length} articles
55+
</small>) : null}
5256
</li>
5357
)
5458
})}

0 commit comments

Comments
 (0)