You've already forked AstralRinth
forked from didirus/AstralRinth
SEO cleanup (#1367)
* SEO/Metadata cleanup May split rules changes into its own PR * Revert rules/terms changes as they are now on a separate branch * Update [searchProjectType].vue * Update terms.vue
This commit is contained in:
committed by
GitHub
parent
bd4da4f365
commit
fc64719bb8
@@ -391,7 +391,6 @@ const config = useRuntimeConfig()
|
||||
const route = useRoute()
|
||||
const link = config.public.siteUrl + route.path.replace(/\/+$/, '')
|
||||
useHead({
|
||||
meta: [{ name: 'og:url', content: link }],
|
||||
link: [
|
||||
{
|
||||
rel: 'canonical',
|
||||
@@ -400,6 +399,34 @@ useHead({
|
||||
],
|
||||
})
|
||||
|
||||
const description =
|
||||
'Download Minecraft mods, plugins, datapacks, shaders, resourcepacks, and modpacks on Modrinth. ' +
|
||||
'Discover and publish projects on Modrinth with a modern, easy to use interface and API.'
|
||||
|
||||
useSeoMeta({
|
||||
title: 'Modrinth',
|
||||
description,
|
||||
publisher: 'Rinth, Inc.',
|
||||
themeColor: [
|
||||
{ color: '#1bd96a', media: '(prefers-color-scheme:no-preference)' },
|
||||
{ color: '#1bd96a', media: '(prefers-color-scheme:dark)' },
|
||||
{ color: '#00af5c', media: '(prefers-color-scheme:light)' },
|
||||
],
|
||||
colorScheme: 'dark light',
|
||||
|
||||
// OpenGraph
|
||||
ogTitle: 'Modrinth',
|
||||
ogSiteName: 'Modrinth',
|
||||
ogDescription: description,
|
||||
ogType: 'website',
|
||||
ogImage: 'https://cdn.modrinth.com/modrinth-new.png',
|
||||
ogUrl: link,
|
||||
|
||||
// Twitter
|
||||
twitterCard: 'summary',
|
||||
twitterSite: '@modrinth',
|
||||
})
|
||||
|
||||
let developerModeCounter = 0
|
||||
|
||||
function developerModeIncrement() {
|
||||
|
||||
Reference in New Issue
Block a user