mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 16:51:37 +00:00
Update layout metadata
This commit is contained in:
@ -6,6 +6,8 @@ import Pagination from 'components/rua/rua-pagination';
|
|||||||
import FileContent from './file-content';
|
import FileContent from './file-content';
|
||||||
import UserInfoLoading from './user-info-skeleton';
|
import UserInfoLoading from './user-info-skeleton';
|
||||||
|
|
||||||
|
export const revalidate = 600;
|
||||||
|
|
||||||
export default async function Page() {
|
export default async function Page() {
|
||||||
const gists = await getGists();
|
const gists = await getGists();
|
||||||
if (!gists) notFound();
|
if (!gists) notFound();
|
||||||
|
@ -9,6 +9,17 @@ import Footer from './footer';
|
|||||||
import BackToTop from 'components/common/back-to-top';
|
import BackToTop from 'components/common/back-to-top';
|
||||||
import clsx from 'clsx';
|
import clsx from 'clsx';
|
||||||
import fonts from 'lib/fonts';
|
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({
|
export default function RootLayout({
|
||||||
children,
|
children,
|
||||||
|
Reference in New Issue
Block a user