Add back some OG and Twitter card metadata (#376)

This commit is contained in:
Čaba Šagi 2021-09-21 10:07:13 +02:00 committed by GitHub
parent 02e112133c
commit 2319f41151
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,5 +1,5 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="en"> <html prefix="og: https://ogp.me/ns#" lang="en">
<head> <head>
<meta charset="utf-8" /> <meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.png" /> <link rel="icon" href="%PUBLIC_URL%/favicon.png" />
@ -25,6 +25,17 @@
Learn how to configure a non-root public URL by running `npm run build`. Learn how to configure a non-root public URL by running `npm run build`.
--> -->
<title>RSPEC</title> <title>RSPEC</title>
<!-- Twitter Card -->
<meta name="twitter:card" content="summary_large_image" />
<meta name="twitter:image" content="%PUBLIC_URL%/favicon.png" />
<meta name="twitter:title" content="RSPEC" />
<meta name="twitter:description" content="Rules Repository Search Page" />
<!-- Open Graph -->
<meta property="og:title" content="RSPEC" />
<meta property="og:description" content="Rules Repository Search Page" />
<meta property="og:type" content="website" />
<meta property="og:url" content="%PUBLIC_URL%" />
<meta property="og:image" content="%PUBLIC_URL%/favicon.png" />
</head> </head>
<body> <body>
<noscript>You need to enable JavaScript to run this app.</noscript> <noscript>You need to enable JavaScript to run this app.</noscript>