Skip to content

Add extra safe meta tags for SEO and mobile support #553

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
57 changes: 57 additions & 0 deletions docusaurus.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,17 @@ module.exports = {
"API testing, Keploy docs, incident replay, network calls, code paths, test scenarios, code coverage, stubs, junit, go-test, live environment, production incidents, open source, regression tests, ai tests",
},
{name: "twitter:card", content: "summary_large_image"},
{name: "robots", content: "index, follow"},
{name: "author", content: "Keploy Team"},
{property: "og:type", content: "website"},
{property: "og:site_name", content: "Keploy"},
{name: "twitter:site", content: "@keployio"},
{name: "twitter:creator", content: "@keployio"},
{ name: "viewport", content: "width=device-width, initial-scale=1.0" },
{ name: "referrer", content: "no-referrer-when-downgrade" },
{ name: "HandheldFriendly", content: "True" },
{ name: "mobile-web-app-capable", content: "yes" },
{ name: "theme-color", content: "#ffffff" },
],
headTags: [
// Preconnect tag
Expand All @@ -62,6 +73,52 @@ module.exports = {
href: "https://keploy.io/",
},
},
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://www.google-analytics.com",
},
},
{
tagName: "link",
attributes: {
rel: "preconnect",
href: "https://www.googletagmanager.com",
},
},
{
tagName: "meta",
attributes: {
name: "msapplication-config",
content: "/docs/browserconfig.xml",
},
},
{
tagName: "script",
attributes: {
type: "application/ld+json",
},
innerHTML: JSON.stringify({
"@context": "https://schema.org/",
"@type": "Organization",
name: "Keploy",
url: "https://keploy.io",
logo: "https://keploy.io/docs/img/favicon.png",
description: "Open source tool that generates Regression Tests like unit tests with mocks and stubs from API calls.",
sameAs: [
"https://github.com/keploy/keploy",
"https://twitter.com/keployio",
"https://www.youtube.com/channel/UC6OTg7F4o0WkmNtSoob34lg",
"https://join.slack.com/t/keploy/shared_invite/zt-357qqm9b5-PbZRVu3Yt2rJIa6ofrwWNg"
],
contactPoint: {
"@type": "ContactPoint",
contactType: "customer service",
url: "https://keploy.io"
}
}),
},
{
tagName: "script",
attributes: {
Expand Down