Skip to content

Commit 3296707

Browse files
committed
Fix site name in Google search results to show "OpenTaint" instead of domain
1 parent 957d2e6 commit 3296707

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

src/layouts/BaseLayout.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@ const dataBlocks = Array.isArray(structuredData) ? structuredData : [structuredD
3737
<meta name="description" content={description} />
3838
<meta name="keywords" content={keywords.join(", ")} />
3939
<meta name="robots" content={robots} />
40+
<meta name="application-name" content={siteConfig.title} />
4041
<link rel="canonical" href={canonicalUrl} />
4142

4243
<meta property="og:title" content={pageTitle} />

src/pages/index.astro

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ const structuredData = [
1313
"@context": "https://schema.org",
1414
"@type": "WebSite",
1515
name: siteConfig.title,
16+
alternateName: "OpenTaint",
1617
url: siteConfig.url,
1718
},
1819
{

0 commit comments

Comments
 (0)