fix: add space and missing dot for listing pages (#907)

This commit is contained in:
Eiko Wagenknecht
2024-02-20 15:45:10 +01:00
committed by GitHub
parent fc5fa48bf1
commit 3b266ee7d0
8 changed files with 19 additions and 16 deletions

View File

@ -66,9 +66,12 @@ function TagContent(props: QuartzComponentProps) {
<p>
{i18n(cfg.locale).pages.tagContent.itemsUnderTag({ count: pages.length })}
{pages.length > numPages && (
<span>
{i18n(cfg.locale).pages.tagContent.showingFirst({ count: numPages })}
</span>
<>
{" "}
<span>
{i18n(cfg.locale).pages.tagContent.showingFirst({ count: numPages })}
</span>
</>
)}
</p>
<PageList limit={numPages} {...listProps} />