diff options
| -rw-r--r-- | src/components/Layouts/Layout.tsx | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/components/Layouts/Layout.tsx b/src/components/Layouts/Layout.tsx index 35e7d27..8a57cf6 100644 --- a/src/components/Layouts/Layout.tsx +++ b/src/components/Layouts/Layout.tsx @@ -4,6 +4,8 @@ import Header from '@components/Header/Header'; import Main from '@components/Main/Main'; import Breadcrumb from '@components/Breadcrumb/Breadcrumb'; import { t } from '@lingui/macro'; +import Head from 'next/head'; +import { config } from '@config/website'; const Layout = ({ children, @@ -14,6 +16,26 @@ const Layout = ({ }) => { return ( <> + <Head> + <link + rel="alternate" + href="/feed.xml" + type="application/rss+xml" + title={`${config.name}'s RSS feed`} + /> + <link + rel="alternate" + href="/atom.xml" + type="application/atom+xml" + title={`${config.name}'s RSS feed`} + /> + <link + rel="alternate" + href="/feed.json" + type="application/feed+json" + title={`${config.name}'s RSS feed`} + /> + </Head> <a href="#main" className="screen-reader-text">{t`Skip to content`}</a> <Header isHome={isHome} /> <Main>{children}</Main> |
