Add RSS feed to the layout
This commit is contained in:
parent
559f61fa68
commit
feb4ad91fd
@ -10,6 +10,7 @@ import {
|
||||
META_TITLE,
|
||||
HTML_LANG,
|
||||
NAV_CAPTION,
|
||||
PUBLIC_FEED_ENABLED,
|
||||
} from '@/app/config';
|
||||
import AppStateProvider from '@/state/AppStateProvider';
|
||||
import ToasterWithThemes from '@/toast/ToasterWithThemes';
|
||||
@ -65,6 +66,13 @@ export const metadata: Metadata = {
|
||||
type: 'image/png',
|
||||
sizes: '180x180',
|
||||
}],
|
||||
...PUBLIC_FEED_ENABLED && {
|
||||
alternates: {
|
||||
types: {
|
||||
'application/rss+xml': '/rss.xml',
|
||||
},
|
||||
},
|
||||
},
|
||||
};
|
||||
|
||||
export default function RootLayout({
|
||||
|
||||
Loading…
Reference in New Issue
Block a user