From 998aac559ec75379b7fd25496ae06073c7b342c5 Mon Sep 17 00:00:00 2001
From: Armand Philippot <git@armandphilippot.com>
Date: Sun, 13 Feb 2022 19:35:21 +0100
Subject: chore: add some noscript tags to explain why the data are not loaded

---
 src/pages/blog/index.tsx | 6 ++++++
 1 file changed, 6 insertions(+)

(limited to 'src/pages/blog/index.tsx')

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 && (
             <>
-- 
cgit v1.2.3

