You've already forked AstralRinth
forked from didirus/AstralRinth
Add adrinth link (#761)
* Add adrinth link * Use article instead of aside to improve SEO * Fix bad change * Fix #737
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
'alt-layout': $cosmetics.projectLayout,
|
||||
}"
|
||||
>
|
||||
<aside class="normal-page__sidebar">
|
||||
<article class="normal-page__sidebar">
|
||||
<div class="header card">
|
||||
<nuxt-link
|
||||
:to="
|
||||
@@ -506,7 +506,7 @@
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</aside>
|
||||
</article>
|
||||
<section class="normal-page__content">
|
||||
<div
|
||||
v-if="project.status === 'unlisted'"
|
||||
@@ -1051,11 +1051,6 @@ export default {
|
||||
this.projectTypeDisplay.charAt(0).toUpperCase() +
|
||||
this.projectTypeDisplay.slice(1)
|
||||
}`
|
||||
const description = `${this.project.description} - Download the Minecraft ${
|
||||
this.projectTypeDisplay
|
||||
} ${this.project.title} by ${
|
||||
this.members.find((x) => x.role === 'Owner').user.username
|
||||
} on Modrinth`
|
||||
|
||||
return {
|
||||
title,
|
||||
@@ -1073,12 +1068,16 @@ export default {
|
||||
{
|
||||
hid: 'og:description',
|
||||
name: 'og:description',
|
||||
content: description,
|
||||
content: this.project.description,
|
||||
},
|
||||
{
|
||||
hid: 'description',
|
||||
name: 'description',
|
||||
content: description,
|
||||
content: `${this.project.description} - Download the Minecraft ${
|
||||
this.projectTypeDisplay
|
||||
} ${this.project.title} by ${
|
||||
this.members.find((x) => x.role === 'Owner').user.username
|
||||
} on Modrinth`,
|
||||
},
|
||||
{
|
||||
hid: 'og:image',
|
||||
|
||||
Reference in New Issue
Block a user