diff options
Diffstat (limited to 'src/pages/blog/page')
| -rw-r--r-- | src/pages/blog/page/[number].tsx | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/src/pages/blog/page/[number].tsx b/src/pages/blog/page/[number].tsx index d6071d1..35d4bad 100644 --- a/src/pages/blog/page/[number].tsx +++ b/src/pages/blog/page/[number].tsx @@ -20,7 +20,8 @@ import { PageSidebar, } from '../../../components'; import { - convertTaxonomyToPageLink, + convertWPThematicPreviewToPageLink, + convertWPTopicPreviewToPageLink, fetchLastPostCursor, fetchPostsCount, fetchPostsList, @@ -247,7 +248,9 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({ {thematicsListTitle} </Heading> } - items={getLinksItemData(thematicsList.map(convertTaxonomyToPageLink))} + items={getLinksItemData( + thematicsList.map(convertWPThematicPreviewToPageLink) + )} /> <LinksWidget heading={ @@ -255,7 +258,9 @@ const BlogPage: NextPageWithLayout<BlogPageProps> = ({ {topicsListTitle} </Heading> } - items={getLinksItemData(topicsList.map(convertTaxonomyToPageLink))} + items={getLinksItemData( + topicsList.map(convertWPTopicPreviewToPageLink) + )} /> </PageSidebar> </Page> |
