feat(theme): better title and description

This commit is contained in:
taskylizard
2024-01-26 16:57:58 +00:00
parent 0f4ca16ccc
commit aa61585665
3 changed files with 15 additions and 9 deletions

View File

@@ -87,6 +87,8 @@ export default defineConfig({
outline: 'deep',
logo: '/fmhy.ico',
nav: [
// @ts-expect-error
{ text: 'Collection', items: sidebar },
{ text: 'Beginners Guide', link: '/beginners-guide' },
{ text: 'Glossary', link: 'https://rentry.org/The-Piracy-Glossary' },
{ text: 'Guides', link: 'https://rentry.co/fmhy-guides' },
@@ -95,10 +97,11 @@ export default defineConfig({
link: 'https://www.reddit.com/r/FREEMEDIAHECKYEAH/wiki/backups'
},
{
text: 'About',
text: 'Ecosystem',
items: [
{ text: 'Posts', link: '/posts' },
{ text: 'Feedback', link: '/feedback' }
{ text: 'Feedback', link: '/feedback' },
{ text: 'snowbin', link: 'https://pastes.fmhy.net' }
]
}
],

View File

@@ -1,16 +1,15 @@
import type { DefaultTheme } from 'vitepress'
export const meta = {
name: 'FreeMediaHeckYeah',
name: 'freemediaheckyeah',
description: 'The largest collection of free stuff on the internet!',
hostname: 'https://fmhy.net',
keywords: ['stream', 'movies', 'gaming', 'reading', 'anime']
}
export const commitRef = process.env.CF_PAGES
? `<a href="https://github.com/fmhy/FMHYEdit/commit/${
process.env.CF_PAGES_COMMIT_SHA
}">${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}</a>`
? `<a href="https://github.com/fmhy/FMHYEdit/commit/${process.env.CF_PAGES_COMMIT_SHA
}">${process.env.CF_PAGES_COMMIT_SHA.slice(0, 8)}</a>`
: 'dev'
export const feedback = `<a href="/feedback" class="feedback-footer">Made with ❤️</a>`
@@ -55,7 +54,7 @@ export const socialLinks: DefaultTheme.SocialLink[] = [
}
]
export const sidebar: DefaultTheme.Sidebar = [
export const sidebar: DefaultTheme.Sidebar | DefaultTheme.NavItemWithLink[] = [
{ text: '📛 Adblocking / Privacy', link: '/adblockvpnguide' },
{ text: '🤖 Artificial Intelligence', link: '/ai' },
{ text: '📺 Movies / TV / Anime', link: '/videopiracyguide' },