Skip to content

Commit

Permalink
Use next metadata system
Browse files Browse the repository at this point in the history
  • Loading branch information
svemat01 committed Mar 7, 2024
1 parent 9971dae commit b36c3da
Showing 1 changed file with 7 additions and 8 deletions.
15 changes: 7 additions & 8 deletions blog/app/layout.tsx
Original file line number Diff line number Diff line change
@@ -1,24 +1,23 @@
import './globals.css';

import { Metadata } from 'next';
import { ReactNode } from 'react';

import { Navbar } from '@/components/navbar/Navbar';

export const metadata = {
export const metadata: Metadata = {
title: 'ENS Blog',
description: 'The official blog of the Ethereum Name Service',
alternates: {
types: {
'application/atom+xml': '/rss.xml',
},
},
};

export default function RootLayout({ children }: { children: ReactNode }) {
return (
<html lang="en">
<head>
<link
rel="alternative"
type="application/atom+xml"
href="/rss.xml"
/>
</head>
<body>
<div className="">
<Navbar />
Expand Down

0 comments on commit b36c3da

Please sign in to comment.