This is an automated email from the ASF dual-hosted git repository.

jinrongtong pushed a commit to branch new-official-website
in repository https://gitbox.apache.org/repos/asf/rocketmq-site.git


The following commit(s) were added to refs/heads/new-official-website by this 
push:
     new f38b1b352c Fix github start and fork buttons on the front page (#624)
f38b1b352c is described below

commit f38b1b352c3d8a6ed45ad6128f0422de67923ffa
Author: Jack Tsai <[email protected]>
AuthorDate: Fri Feb 23 13:50:11 2024 +0800

    Fix github start and fork buttons on the front page (#624)
---
 src/pages/index.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/pages/index.js b/src/pages/index.js
index ca63bec269..2962bc1ed0 100644
--- a/src/pages/index.js
+++ b/src/pages/index.js
@@ -1,6 +1,7 @@
 import React from "react";
 import clsx from "clsx";
 import Layout from "@theme/Layout";
+import Head from '@docusaurus/Head';
 import CodeBlock from "@theme/CodeBlock";
 
 import useDocusaurusContext from "@docusaurus/useDocusaurusContext";
@@ -22,6 +23,9 @@ function Home() {
       title={`${siteConfig.title} ยท ${siteConfig.tagline}`}
       description={`${siteConfig.tagline}`}
     >
+      <Head>
+        <meta http-equiv="Content-Security-Policy" content="frame-src 'self' 
https://ghbtns.com/"; />
+      </Head>
       <Hero/>
       <main>
         <Section isDark>

Reply via email to