Add og:image to theme config

This commit is contained in:
Marc Rousavy 2023-03-06 11:43:39 +01:00
parent 22c0c029c8
commit 815e47b249
2 changed files with 1 additions and 3 deletions

View File

@ -95,6 +95,7 @@ module.exports = {
], ],
copyright: `Copyright © ${new Date().getFullYear()} Marc Rousavy`, copyright: `Copyright © ${new Date().getFullYear()} Marc Rousavy`,
}, },
image: 'img/11.png',
metadata: [ metadata: [
{ {
name: 'keywords', name: 'keywords',

View File

@ -58,9 +58,6 @@ function Home() {
<Layout <Layout
title="VisionCamera Documentation" title="VisionCamera Documentation"
description="📸 The Camera library that sees the vision."> description="📸 The Camera library that sees the vision.">
<head>
<meta property="og:image" content="img/11.png" />
</head>
<header className={clsx('hero hero--primary', styles.heroBanner)}> <header className={clsx('hero hero--primary', styles.heroBanner)}>
<div className="container"> <div className="container">
<h1 className="hero__title">{siteConfig.title}</h1> <h1 className="hero__title">{siteConfig.title}</h1>