From 63c60d09afd7f0b697e4931c5d6cfbfef39021f3 Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Sat, 24 Jun 2023 11:48:30 -0300 Subject: content: generateCoverGrid: accept html for names/info --- src/content/dependencies/generateCoverGrid.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/content/dependencies/generateCoverGrid.js b/src/content/dependencies/generateCoverGrid.js index e9f770f0..20130c5e 100644 --- a/src/content/dependencies/generateCoverGrid.js +++ b/src/content/dependencies/generateCoverGrid.js @@ -6,8 +6,8 @@ export default { slots: { images: {validate: v => v.arrayOf(v.isHTML)}, links: {validate: v => v.arrayOf(v.isHTML)}, - names: {validate: v => v.arrayOf(v.isString)}, - info: {validate: v => v.arrayOf(v.isString)}, + names: {validate: v => v.arrayOf(v.isHTML)}, + info: {validate: v => v.arrayOf(v.isHTML)}, lazy: {validate: v => v.oneOf(v.isWholeNumber, v.isBoolean)}, }, -- cgit 1.3.0-6-gf8a5