diff --git a/.vscode/settings.json b/.vscode/settings.json index df1085b..12732a9 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -1,12 +1,12 @@ { "editor.formatOnSave": true, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "[markdown]": { "editor.wordWrap": "on", "editor.codeActionsOnSave": { - "source.fixAll.markdownlint": true + "source.fixAll.markdownlint": "explicit" } }, "prettier.documentSelectors": ["**/*.astro"], diff --git a/src/content/config.ts b/src/content/config.ts index 57f7bf8..cd9a8b1 100644 --- a/src/content/config.ts +++ b/src/content/config.ts @@ -12,7 +12,7 @@ const post = defineCollection({ schema: ({ image }) => z.object({ title: z.string().max(60), - description: z.string().min(50).max(160), + description: z.string().min(20).max(240), publishDate: z .string() .or(z.date())