blog plugin build error :Expected metadata to be defined but found nothing #6499
-
Is it necessary that each .md document has all the metadata required? (blog) D:\Users\Claymore\Desktop\blog\my_blog>mkdocs build Aborted with a BuildError! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
AFAIK the only metadata you need is the date, which is a pretty minimal requirement. Note that it is good practice to define metadata such as the publication date in the file rather than taking it from the filesystem. If you have additional metadata and don't want to define it for each post then you can use the meta plugin from the Insiders edition. |
Beta Was this translation helpful? Give feedback.
AFAIK the only metadata you need is the date, which is a pretty minimal requirement. Note that it is good practice to define metadata such as the publication date in the file rather than taking it from the filesystem. If you have additional metadata and don't want to define it for each post then you can use the meta plugin from the Insiders edition.