chore(docs): configure root base path and add Forgejo nav link
This commit is contained in:
parent
c66cd9484a
commit
862ed0f7d6
1 changed files with 3 additions and 2 deletions
|
|
@ -3,13 +3,13 @@ import { defineConfig } from 'vitepress';
|
|||
export default defineConfig({
|
||||
title: 'BetterCurseForge',
|
||||
description: 'Client mod for CurseForge Launcher',
|
||||
base: process.env.BASE_URL || '/BetterCurseForge/',
|
||||
base: process.env.BASE_URL || '/',
|
||||
appearance: 'dark',
|
||||
lastUpdated: true,
|
||||
cleanUrls: true,
|
||||
|
||||
head: [
|
||||
['link', { rel: 'icon', type: 'image/png', href: (process.env.BASE_URL || '/BetterCurseForge/') + 'logo.png' }],
|
||||
['link', { rel: 'icon', type: 'image/png', href: (process.env.BASE_URL || '/') + 'logo.png' }],
|
||||
['meta', { name: 'theme-color', content: '#9333ea' }],
|
||||
['meta', { name: 'og:type', content: 'website' }],
|
||||
['meta', { name: 'og:title', content: 'BetterCurseForge' }],
|
||||
|
|
@ -23,6 +23,7 @@ export default defineConfig({
|
|||
nav: [
|
||||
{ text: 'Guide', link: '/guide/installation' },
|
||||
{ text: 'API', link: '/api/' },
|
||||
{ text: 'Forgejo', link: 'http://92.5.113.44:3000/tomasalias/BetterCurseForge' },
|
||||
{ text: 'GitHub', link: 'https://github.com/tomasalias/BetterCurseForge' },
|
||||
],
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue