You've already forked AstralRinth
forked from didirus/AstralRinth
Fix meta tags for embeds (#11)
This commit is contained in:
@@ -23,7 +23,6 @@ export default {
|
|||||||
'Modrinth is a mod distribution platform. Modrinth is modern, easy to use, and built for modders. Modrinth currently supports Minecraft, including the forge and fabric mod loaders.',
|
'Modrinth is a mod distribution platform. Modrinth is modern, easy to use, and built for modders. Modrinth currently supports Minecraft, including the forge and fabric mod loaders.',
|
||||||
},
|
},
|
||||||
|
|
||||||
{ hid: 'author', name: 'author', content: 'Modrinth' },
|
|
||||||
{ hid: 'publisher', name: 'publisher', content: 'Guavy LLC' },
|
{ hid: 'publisher', name: 'publisher', content: 'Guavy LLC' },
|
||||||
{
|
{
|
||||||
hid: 'apple-mobile-web-app-title',
|
hid: 'apple-mobile-web-app-title',
|
||||||
|
|||||||
@@ -56,34 +56,37 @@ export default {
|
|||||||
title: this.mod.title + ' - Modrinth',
|
title: this.mod.title + ' - Modrinth',
|
||||||
meta: [
|
meta: [
|
||||||
{
|
{
|
||||||
hid: 'description',
|
hid: 'og:type',
|
||||||
name: 'description',
|
name: 'og:type',
|
||||||
content:
|
content: 'website',
|
||||||
this.mod.description +
|
},
|
||||||
' View other minecraft mods on Modrinth today! Modrinth is a new and modern Minecraft modding platform that is compatible with CurseForge too!',
|
{
|
||||||
|
hid: 'og:title',
|
||||||
|
name: 'og:title',
|
||||||
|
content: this.mod.title,
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
hid: 'apple-mobile-web-app-title',
|
hid: 'apple-mobile-web-app-title',
|
||||||
name: 'apple-mobile-web-app-title',
|
name: 'apple-mobile-web-app-title',
|
||||||
content: this.mod.title,
|
content: this.mod.title,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'og:site_name',
|
hid: 'og:description',
|
||||||
name: 'og:site_name',
|
name: 'og:description',
|
||||||
content: this.mod.title,
|
content: this.mod.description,
|
||||||
|
},
|
||||||
|
{
|
||||||
|
hid: 'description',
|
||||||
|
name: 'description',
|
||||||
|
content:
|
||||||
|
this.mod.description +
|
||||||
|
' View other minecraft mods on Modrinth today! Modrinth is a new and modern Minecraft modding platform that is compatible with CurseForge too!',
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'og:url',
|
hid: 'og:url',
|
||||||
name: 'og:url',
|
name: 'og:url',
|
||||||
content: `https://modrinth.com/mod/${this.mod.id}`,
|
content: `https://modrinth.com/mod/${this.mod.id}`,
|
||||||
},
|
},
|
||||||
{
|
|
||||||
hid: 'og:description',
|
|
||||||
name: 'og:description',
|
|
||||||
content: this.mod.description,
|
|
||||||
},
|
|
||||||
{ hid: 'og:type', name: 'og:type', content: 'article' },
|
|
||||||
{
|
{
|
||||||
hid: 'og:image',
|
hid: 'og:image',
|
||||||
name: 'og:image',
|
name: 'og:image',
|
||||||
|
|||||||
@@ -222,12 +222,12 @@ export default {
|
|||||||
{
|
{
|
||||||
hid: 'apple-mobile-web-app-title',
|
hid: 'apple-mobile-web-app-title',
|
||||||
name: 'apple-mobile-web-app-title',
|
name: 'apple-mobile-web-app-title',
|
||||||
content: this.mod.title + ' - Modrinth',
|
content: this.mod.title,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'og:site_name',
|
hid: 'og:title',
|
||||||
name: 'og:site_name',
|
name: 'og:title',
|
||||||
content: this.mod.title + ' - Modrinth',
|
content: this.mod.title,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'og:url',
|
hid: 'og:url',
|
||||||
|
|||||||
@@ -328,15 +328,14 @@ export default {
|
|||||||
this.mod.description +
|
this.mod.description +
|
||||||
' View other minecraft mods on Modrinth today! Modrinth is a new and modern Minecraft modding platform that is compatible with CurseForge too!',
|
' View other minecraft mods on Modrinth today! Modrinth is a new and modern Minecraft modding platform that is compatible with CurseForge too!',
|
||||||
},
|
},
|
||||||
|
|
||||||
{
|
{
|
||||||
hid: 'apple-mobile-web-app-title',
|
hid: 'apple-mobile-web-app-title',
|
||||||
name: 'apple-mobile-web-app-title',
|
name: 'apple-mobile-web-app-title',
|
||||||
content: this.mod.title,
|
content: this.mod.title,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
hid: 'og:site_name',
|
hid: 'og:title',
|
||||||
name: 'og:site_name',
|
name: 'og:title',
|
||||||
content: this.mod.title,
|
content: this.mod.title,
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -349,7 +348,7 @@ export default {
|
|||||||
name: 'og:description',
|
name: 'og:description',
|
||||||
content: this.mod.description,
|
content: this.mod.description,
|
||||||
},
|
},
|
||||||
{ hid: 'og:type', name: 'og:type', content: 'article' },
|
{ hid: 'og:type', name: 'og:type', content: 'website' },
|
||||||
{
|
{
|
||||||
hid: 'og:image',
|
hid: 'og:image',
|
||||||
name: 'og:image',
|
name: 'og:image',
|
||||||
|
|||||||
Reference in New Issue
Block a user