mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-04 20:02:54 +02:00
fix(v2): blog not showing metadata & missing asset
This commit is contained in:
parent
039af9b213
commit
95b0cb942f
66 changed files with 1442 additions and 1 deletions
|
@ -17,7 +17,7 @@ import styles from './styles.module.css';
|
|||
|
||||
class BlogPost extends React.Component {
|
||||
renderPostHeader() {
|
||||
const {metadata} = this.context;
|
||||
const {metadata} = this.props;
|
||||
if (!metadata) {
|
||||
return null;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue