Skip to content

Commit

Permalink
Merge pull request #37 from rocky-linux/36-bug-rss-feed-not-in-metadata
Browse files Browse the repository at this point in the history
add rss feed to metadata
  • Loading branch information
NebraskaCoder authored May 4, 2024
2 parents 5b544be + c65a8e4 commit 414b0bd
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions app/[locale]/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// noinspection HtmlRequiredTitleElement

import { availableLanguages } from "@/config/i18nProperties";
import { notFound } from "next/navigation";
import "./globals.css";
Expand All @@ -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";

Expand All @@ -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({
Expand Down Expand Up @@ -78,7 +84,6 @@ export default function RootLayout({
<main>{children}</main>
<Footer />
</ThemeProvider>
<AccessibilityWidget />
</body>
</html>
);
Expand Down

0 comments on commit 414b0bd

Please sign in to comment.