fix: force blog index, blog index pages, and blog pages to be static
This commit is contained in:
parent
96ac8535f8
commit
8235010257
3 changed files with 6 additions and 0 deletions
|
@ -40,6 +40,8 @@ interface BlogSlugArticle {
|
||||||
_createdAt: string;
|
_createdAt: string;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export async function generateMetadata({
|
export async function generateMetadata({
|
||||||
params
|
params
|
||||||
}: {
|
}: {
|
||||||
|
|
|
@ -5,6 +5,8 @@ import { Rss } from "lucide-react";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Blog - SVR.JS",
|
title: "Blog - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
|
@ -6,6 +6,8 @@ import { Rss } from "lucide-react";
|
||||||
import { Button } from "@/components/ui/button";
|
import { Button } from "@/components/ui/button";
|
||||||
import Link from "next/link";
|
import Link from "next/link";
|
||||||
|
|
||||||
|
export const dynamic = "force-static";
|
||||||
|
|
||||||
export const metadata: Metadata = {
|
export const metadata: Metadata = {
|
||||||
title: "Blog - SVR.JS",
|
title: "Blog - SVR.JS",
|
||||||
description:
|
description:
|
||||||
|
|
Loading…
Reference in a new issue