mirror of
https://github.com/Unkn0wnCat/KevinK.dev.js.git
synced 2025-06-13 16:12:05 +02:00
Add more structured metadata
This commit is contained in:
parent
df9e2b2bb8
commit
412ee72112
10 changed files with 148 additions and 5 deletions
|
@ -16,7 +16,9 @@ class Layout extends React.Component {
|
|||
lang={this.props.lang}
|
||||
meta={this.props.meta}
|
||||
title={this.props.title}
|
||||
/>
|
||||
image={this.props.image}
|
||||
speakable={this.props.speakable}
|
||||
>{this.props.seoAdditional ?? null}</SEO>
|
||||
<Navigation isHome={this.props.transparentTopbar} />
|
||||
<div id="content" role="main">
|
||||
{this.props.children}
|
||||
|
@ -57,6 +59,9 @@ Layout.propTypes = {
|
|||
title: PropTypes.string.isRequired,
|
||||
transparentTopbar: PropTypes.bool,
|
||||
children: PropTypes.any.isRequired,
|
||||
seoAdditional: PropTypes.any,
|
||||
image: PropTypes.string,
|
||||
speakable: PropTypes.any
|
||||
};
|
||||
|
||||
export default Layout;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue