mirror of
https://github.com/DefectingCat/DefectingCat.github.io
synced 2025-07-15 08:41:37 +00:00
Update pages metadatas
This commit is contained in:
@ -3,6 +3,11 @@ import PostCardLoading from './post-card-loading';
|
||||
import { PostPerPage, postLists } from 'lib/posts';
|
||||
import { Fragment, Suspense } from 'react';
|
||||
import Pagination from 'components/rua/rua-pagination';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'RUA - Blog',
|
||||
};
|
||||
|
||||
export default async function Page() {
|
||||
const allPosts = await postLists();
|
||||
|
@ -5,8 +5,12 @@ import { Suspense } from 'react';
|
||||
import Pagination from 'components/rua/rua-pagination';
|
||||
import FileContent from './file-content';
|
||||
import UserInfoLoading from './user-info-skeleton';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const revalidate = 600;
|
||||
export const metadata: Metadata = {
|
||||
title: 'RUA - Gists',
|
||||
};
|
||||
|
||||
export default async function Page() {
|
||||
const gists = await getGists();
|
||||
|
@ -10,6 +10,11 @@ import { VscGithubInverted } from 'react-icons/vsc';
|
||||
import { HiPhoto } from 'react-icons/hi2';
|
||||
import clsx from 'clsx';
|
||||
import ProjectCard from './project-card';
|
||||
import { Metadata } from 'next';
|
||||
|
||||
export const metadata: Metadata = {
|
||||
title: 'RUA - Projects',
|
||||
};
|
||||
|
||||
const iconMap = {
|
||||
gitea: <SiGitea />,
|
||||
|
Reference in New Issue
Block a user