Skip to content
This repository has been archived by the owner on Oct 22, 2023. It is now read-only.

Commit

Permalink
Add temporary workaround for facebook/docusaurus#7362.
Browse files Browse the repository at this point in the history
  • Loading branch information
charleskorn committed May 18, 2022
1 parent f23be17 commit d0510a4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ import useBaseUrl from "@docusaurus/useBaseUrl";
import styles from "./index.module.css";
import helloWorldExampleYaml from "./home-page-examples/hello-world/batect.yml";
import AsciinemaPlayer from "../components/AsciinemaPlayer";
import Head from "@docusaurus/Head";

interface FeatureDetails {
title: string;
Expand Down Expand Up @@ -76,6 +77,12 @@ function Home() {

return (
<Layout description="Keep your builds green and developers happy with the fast, consistent way to run your development and testing tasks everywhere.">

// Temporary workaround for https://github.com/facebook/docusaurus/pull/7362
<Head>
<meta property="og:title" content={siteConfig.title} />
</Head>

<header className={clsx("hero hero--dark", styles.heroBanner)}>
<div className="container">
<h1 className="hero__title">{siteConfig.title}</h1>
Expand Down

0 comments on commit d0510a4

Please sign in to comment.