Update layout metadata

This commit is contained in:
DefectingCat
2023-03-22 16:01:12 +08:00
parent f748d7269d
commit eef0a04978
2 changed files with 13 additions and 0 deletions

View File

@ -6,6 +6,8 @@ import Pagination from 'components/rua/rua-pagination';
import FileContent from './file-content';
import UserInfoLoading from './user-info-skeleton';
export const revalidate = 600;
export default async function Page() {
const gists = await getGists();
if (!gists) notFound();

View File

@ -9,6 +9,17 @@ import Footer from './footer';
import BackToTop from 'components/common/back-to-top';
import clsx from 'clsx';
import fonts from 'lib/fonts';
import { Metadata } from 'next';
export const metadata: Metadata = {
title: 'RUA',
description: 'Personal blog.',
authors: {
name: 'xfy',
url: 'i@rua.plus',
},
icons: '/images/favicon.ico',
};
export default function RootLayout({
children,