chore: tags can be empty, set default value to avoid compilation failure
This commit is contained in:
		| @@ -81,7 +81,7 @@ export const Blog = defineDocumentType(() => ({ | ||||
|   fields: { | ||||
|     title: { type: 'string', required: true }, | ||||
|     date: { type: 'date', required: true }, | ||||
|     tags: { type: 'list', of: { type: 'string' } }, | ||||
|     tags: { type: 'list', of: { type: 'string' }, default: [] }, | ||||
|     lastmod: { type: 'date' }, | ||||
|     draft: { type: 'boolean' }, | ||||
|     summary: { type: 'string' }, | ||||
|   | ||||
		Reference in New Issue
	
	Block a user