From c65a8e4bda01bac7a29c813eb159e3dc115b5d42 Mon Sep 17 00:00:00 2001 From: Michael Kinder Date: Sat, 4 May 2024 10:11:10 -0400 Subject: [PATCH] add rss feed to metadata --- app/[locale]/layout.tsx | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/app/[locale]/layout.tsx b/app/[locale]/layout.tsx index 291185fd..b9da8f02 100644 --- a/app/[locale]/layout.tsx +++ b/app/[locale]/layout.tsx @@ -1,3 +1,5 @@ +// noinspection HtmlRequiredTitleElement + import { availableLanguages } from "@/config/i18nProperties"; import { notFound } from "next/navigation"; import "./globals.css"; @@ -13,7 +15,6 @@ import Footer from "./Footer"; import type { Metadata } from "next"; import type { ReactNode } from "react"; -import AccessibilityWidget from "@/components/AccessibilityWidget"; import PlausibleProvider from "next-plausible"; @@ -29,6 +30,11 @@ export const metadata: Metadata = { }, description: "Rocky Linux is an open enterprise Operating System designed to be 100% bug-for-bug compatible with Enterprise Linux.", + alternates: { + types: { + "application/rss+xml": "https://rockylinux.org/rss.xml", + }, + }, }; const fontSans = FontSans({ @@ -78,7 +84,6 @@ export default function RootLayout({
{children}