-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
75 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,72 @@ | ||
const DESCRIPTION = "The official site with documentation and guides related to Faithful."; | ||
const BANNER_URL = | ||
"https://database.faithfulpack.net/images/branding/site/banners/universal_banner.png"; | ||
|
||
export default [ | ||
// html meta tags | ||
[ | ||
"link", | ||
{ | ||
rel: "icon", | ||
href: "https://raw.githubusercontent.com/Faithful-Resource-Pack/Branding/main/site/favicon.ico", | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
name: "theme-color", | ||
content: "#76C945", | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
name: "description", | ||
content: DESCRIPTION, | ||
}, | ||
], | ||
// open graph meta tags | ||
[ | ||
"meta", | ||
{ | ||
property: "og:type", | ||
content: "website", | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
property: "og:description", | ||
content: DESCRIPTION, | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
property: "og:image", | ||
content: BANNER_URL, | ||
}, | ||
], | ||
// twitter meta tags | ||
[ | ||
"meta", | ||
{ | ||
name: "twitter:card", | ||
content: "summary_large_image", | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
name: "twitter:description", | ||
content: DESCRIPTION, | ||
}, | ||
], | ||
[ | ||
"meta", | ||
{ | ||
name: "twitter:image", | ||
content: BANNER_URL, | ||
}, | ||
], | ||
] as [string, Record<string, string>][]; |