From 08aefd2005c4994606ec654cfe01d97963f235a1 Mon Sep 17 00:00:00 2001 From: Rui Sousa Date: Mon, 21 Oct 2024 17:39:26 +0100 Subject: [PATCH] increase summary character limit to 1000 --- src/app/_components/Header/index.tsx | 8 ++++---- src/collections/Blogposts/index.ts | 2 +- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/app/_components/Header/index.tsx b/src/app/_components/Header/index.tsx index 4ab765b..ebedb02 100644 --- a/src/app/_components/Header/index.tsx +++ b/src/app/_components/Header/index.tsx @@ -5,9 +5,9 @@ import Logo from "@/app/_components/Header/Logo"; import { fetchGlobals } from "@/app/_utilities/contentFetchers"; const defaultStyle = { - '--dynamic-background': "transparent", - '--dynamic-color': "var(--dark-rock-800)", - '--dynamic-width': '100%' + "--dynamic-background": "transparent", + "--dynamic-color": "var(--dark-rock-800)", + "--dynamic-width": "100%", }; export async function Header({ style = defaultStyle }) { @@ -22,7 +22,7 @@ export async function Header({ style = defaultStyle }) { {/* @ts-ignore */}
- +
{/* TODO: Conditionally format Content Hub to reflect active link?*/} diff --git a/src/collections/Blogposts/index.ts b/src/collections/Blogposts/index.ts index 63cdc83..d3f9fa6 100644 --- a/src/collections/Blogposts/index.ts +++ b/src/collections/Blogposts/index.ts @@ -67,7 +67,7 @@ export const Blogposts: CollectionConfig = { name: "summary", type: "textarea", required: true, - maxLength: 250, + maxLength: 1000, }, { name: "content",