mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-21 03:57:51 +02:00
feat(content-blog): allow authors list to contain images only (#6416)
* feat(content-blog): allow authors list to contain images only * adjust styles * fix * fix * mention in docs * fix wording
This commit is contained in:
parent
d506bca12d
commit
4e69c052d6
7 changed files with 90 additions and 8 deletions
|
@ -21,7 +21,7 @@ const BlogPostFrontMatterAuthorSchema = Joi.object({
|
|||
url: URISchema,
|
||||
imageURL: Joi.string(),
|
||||
})
|
||||
.or('key', 'name')
|
||||
.or('key', 'name', 'imageURL')
|
||||
.rename('image_url', 'imageURL', {alias: true});
|
||||
|
||||
const FrontMatterAuthorErrorMessage =
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue