feat(cms): improve admin content editing
This commit is contained in:
parent
12d31f5468
commit
a284bbc188
26 changed files with 362 additions and 147 deletions
|
|
@ -1,4 +1,5 @@
|
|||
import PageHero from "@/components/PageHero";
|
||||
import { defaultContent } from "@/lib/content/defaults";
|
||||
import { getContent } from "@/lib/content/service";
|
||||
import { createContentMetadata } from "../seo";
|
||||
|
||||
|
|
@ -6,7 +7,7 @@ export const dynamic = "force-dynamic";
|
|||
|
||||
export async function generateMetadata() {
|
||||
const content = await getContent("about");
|
||||
return createContentMetadata(content.seo);
|
||||
return createContentMetadata(content.seo, defaultContent.about.seo);
|
||||
}
|
||||
|
||||
export default async function AboutPage() {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue