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:
Geometrically
2022-11-20 20:47:32 -07:00
committed by GitHub
parent 848f0db3d1
commit df1a939798
3 changed files with 17 additions and 18 deletions

View File

@@ -15,7 +15,7 @@
</div>
<div class="normal-page">
<div class="normal-page__sidebar">
<aside class="card sidebar">
<article class="card sidebar">
<h1 class="mobile-username">{{ user.username }}</h1>
<div class="card__overlay">
<FileInput
@@ -144,7 +144,7 @@
View GitHub profile
</a>
</template>
</aside>
</article>
</div>
<div class="normal-page__content">
<Advertisement
@@ -368,6 +368,10 @@ export default {
}
},
head() {
const description = this.user.bio
? `${this.user.bio} - Download ${this.user.username}'s projects on Modrinth`
: `Download ${this.user.username}'s projects on Modrinth`
return {
title: this.user.username + ' - Modrinth',
meta: [
@@ -384,12 +388,12 @@ export default {
{
hid: 'apple-mobile-web-app-title',
name: 'apple-mobile-web-app-title',
content: this.user.username,
content: description,
},
{
hid: 'og:description',
name: 'og:description',
content: `${this.user.bio} - Download ${this.user.username}'s projects on Modrinth`,
content: description,
},
{
hid: 'description',