diff options
| author | Armand Philippot <git@armandphilippot.com> | 2022-02-13 19:35:21 +0100 |
|---|---|---|
| committer | Armand Philippot <git@armandphilippot.com> | 2022-02-13 19:35:21 +0100 |
| commit | 998aac559ec75379b7fd25496ae06073c7b342c5 (patch) | |
| tree | 1baf975723e2880d69f9cebac405cea84674fc56 /src/pages | |
| parent | d7df049ef40d4028ac5616f8bbe366d1476404de (diff) | |
chore: add some noscript tags to explain why the data are not loaded
Diffstat (limited to 'src/pages')
| -rw-r--r-- | src/pages/blog/index.tsx | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pages/blog/index.tsx b/src/pages/blog/index.tsx index cea5688..51db760 100644 --- a/src/pages/blog/index.tsx +++ b/src/pages/blog/index.tsx @@ -158,6 +158,12 @@ const Blog: NextPageWithLayout<BlogPageProps> = ({ fallback }) => { > <PostHeader title={title} meta={{ results: totalPostsCount }} /> <div className={styles.body}> + <noscript> + {intl.formatMessage({ + defaultMessage: 'Javascript is required to load the posts.', + description: 'BlogPage: noscript tag', + })} + </noscript> {getPostsList()} {hasNextPage && ( <> |
