Skip to content

Commit

Permalink
remove twitter site handle from site name. fixes #47
Browse files Browse the repository at this point in the history
  • Loading branch information
supun-io committed Nov 4, 2024
1 parent 355a247 commit 4fad16b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Link/Metadata/MetadataPriority.php
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ public function siteName(): ?string
/** @var string|null */
return $this->prioritized([
MetadataKeyType::OG_SITE_NAME,
MetadataKeyType::TWITTER_SITE
// MetadataKeyType::TWITTER_SITE
]);
}

Expand Down
2 changes: 1 addition & 1 deletion tests/Feature/UnfoldLinkTest.php
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
<meta name="og:url" content="https://hyvor.com">
<meta name="og:image" content="https://hyvor.com/image.jpg">
<meta name="og:site_name" content="HYVOR WEBSITE">
<meta name="article:published_time" content="2021-09-01T00:00:00+00:00">
<meta name="article:modified_time" content="2021-09-02T00:00:00+00:00">
<meta name="article:tag" content="php">
<meta name="twitter:site" content="HYVOR WEBSITE">
<link rel="canonical" href="https://hyvor.com">
<link rel="icon" href="https://hyvor.com/favicon.ico">
Expand Down

0 comments on commit 4fad16b

Please sign in to comment.