fix toolsguide
This commit is contained in:
parent
4e2f5d7232
commit
ff0822088d
2
.github/add-headers.py
vendored
2
.github/add-headers.py
vendored
@ -16,7 +16,7 @@ headersData = {
|
|||||||
"Non-English.md": ["Non-English", "International Piracy Sites"],
|
"Non-English.md": ["Non-English", "International Piracy Sites"],
|
||||||
"ReadingPiracyGuide.md": ["Books / Comics / Manga", "Books, Comics, Magazines, Newspapers"],
|
"ReadingPiracyGuide.md": ["Books / Comics / Manga", "Books, Comics, Magazines, Newspapers"],
|
||||||
"STORAGE.md": ["Storage", "Index for everything in the wiki."],
|
"STORAGE.md": ["Storage", "Index for everything in the wiki."],
|
||||||
"TOOLSGuide.md": ["Tools", "General Tools, Internet Tools, System Tools"],
|
# "TOOLSGuide.md": ["Tools", "General Tools, Internet Tools, System Tools"],
|
||||||
"TorrentPiracyGuide.md": ["Torrenting", "Torrent Clients, Torrent Sites, Trackers"],
|
"TorrentPiracyGuide.md": ["Torrenting", "Torrent Clients, Torrent Sites, Trackers"],
|
||||||
"VideoPiracyGuide.md": ["Movies / TV / Anime", "Stream Videos, Download Videos, Torrent Videos"],
|
"VideoPiracyGuide.md": ["Movies / TV / Anime", "Stream Videos, Download Videos, Torrent Videos"],
|
||||||
"base64.md": ["Base64", "Base64 storage"],
|
"base64.md": ["Base64", "Base64 storage"],
|
||||||
|
@ -13,22 +13,22 @@ export function generateMeta(context: TransformContext, hostname: string) {
|
|||||||
|
|
||||||
head.push(["meta", { property: "og:title", content: pageData.frontmatter.title }]);
|
head.push(["meta", { property: "og:title", content: pageData.frontmatter.title }]);
|
||||||
head.push(["meta", { name: "twitter:title", content: pageData.frontmatter.title }]);
|
head.push(["meta", { name: "twitter:title", content: pageData.frontmatter.title }]);
|
||||||
|
if (pageData.frontmatter.description) {
|
||||||
head.push([
|
head.push([
|
||||||
"meta",
|
"meta",
|
||||||
{
|
{
|
||||||
property: "og:description",
|
property: "og:description",
|
||||||
content: pageData.frontmatter.description,
|
content: pageData.frontmatter.description,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
head.push([
|
head.push([
|
||||||
"meta",
|
"meta",
|
||||||
{
|
{
|
||||||
name: "twitter:description",
|
name: "twitter:description",
|
||||||
content: pageData.frontmatter.description,
|
content: pageData.frontmatter.description,
|
||||||
},
|
},
|
||||||
]);
|
]);
|
||||||
|
}
|
||||||
if (pageData.frontmatter.image) {
|
if (pageData.frontmatter.image) {
|
||||||
head.push([
|
head.push([
|
||||||
"meta",
|
"meta",
|
||||||
|
Loading…
Reference in New Issue
Block a user