mirror of
https://github.com/facebook/docusaurus.git
synced 2025-06-11 07:12:29 +02:00
fix(v2): add missed const
This commit is contained in:
parent
51995fa237
commit
6a089ce75c
1 changed files with 1 additions and 0 deletions
|
@ -38,6 +38,7 @@ function Layout(props) {
|
|||
} = props;
|
||||
const metaTitle = title ? `${title} | ${siteTitle}` : siteTitle;
|
||||
|
||||
const metaImage = image || defaultImage;
|
||||
let metaImageUrl = siteUrl + useBaseUrl(metaImage);
|
||||
if (!isInternalUrl(metaImage)) {
|
||||
metaImageUrl = metaImage;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue