aboutsummaryrefslogtreecommitdiffstats
path: root/src/pages/blog
diff options
context:
space:
mode:
authorArmand Philippot <git@armandphilippot.com>2022-05-16 19:40:23 +0200
committerArmand Philippot <git@armandphilippot.com>2022-05-16 19:40:23 +0200
commitc77c58e18143233be042c4980a6ed08ae9beac52 (patch)
tree94f7d828571a86470ae299fff7dffd32fb38de7c /src/pages/blog
parent2155550fa36a3bc3c8f66e0926530123b4018cd4 (diff)
chore: adjust and complete missing styles
* add logo to topics pages and links * add Prism styles to articles * and a few other adjustements
Diffstat (limited to 'src/pages/blog')
-rw-r--r--src/pages/blog/index.tsx12
1 files changed, 1 insertions, 11 deletions
diff --git a/src/pages/blog/index.tsx b/src/pages/blog/index.tsx
index a5ef045..b6ce221 100644
--- a/src/pages/blog/index.tsx
+++ b/src/pages/blog/index.tsx
@@ -114,16 +114,6 @@ const BlogPage: NextPage<BlogPageProps> = ({
'@graph': [webpageSchema, blogSchema],
};
- const postsCount = intl.formatMessage(
- {
- defaultMessage:
- '{postsCount, plural, =0 {No articles} one {# article} other {# articles}}',
- id: 'OF5cPz',
- description: 'BlogPage: posts count meta',
- },
- { postsCount: totalArticles }
- );
-
/**
* Retrieve the formatted meta.
*
@@ -231,7 +221,7 @@ const BlogPage: NextPage<BlogPageProps> = ({
title={title}
breadcrumb={breadcrumbItems}
breadcrumbSchema={breadcrumbSchema}
- headerMeta={{ total: postsCount }}
+ headerMeta={{ total: totalArticles }}
widgets={[
<LinksListWidget
key="thematics-list"