import { hopeTheme } from 'vuepress-theme-hope'
export default hopeTheme({
favicon: 'favicon.ico',
logo: '/logo.svg',
docsRepo: 'https://github.com/Ocelot-Social-Community/ocelot.social',
repo: 'https://github.com/Ocelot-Social-Community/Ocelot-Social',
docsBranch: 'master',
docsDir: 'docs',
editLink: true,
lastUpdated: false,
contributors: false,
displayFooter: true,
print: false,
navbarLayout: {
start: ["Brand"],
center: ["Links"],
end: ["Language", "Repo", "Outlook", "Search"],
},
locales:{
// The key is the path for the locale to be nested under.
// As a special case, the default locale can use '/' as its path.
'/de/': {
lang: 'de-DE',
title: 'Ocelot.Social',
description: 'Ocelot.Social – Freie und Open-Source-Software zum Erstellen und Betreiben deines eigenen sozialen Netzwerks.',
copyright: '© von busFaktor() e.V. & Freunde | Impressum | Datenschutz',
footer: 'Unter der MIT Lizenz ausgeliefert.',
navbar: [
{
text: 'Funktionen',
link: '/de/features/'
},
{
text: 'Einstieg',
link: '/de/get-started/'
},
{
text: 'Mitmachen',
link: '/de/contribute/'
},
{
text: 'Lernen',
link: '/de/learn/' ,
},
{
text: 'Spenden',
link: '/de/donate/'
},
{
text: 'Kontakt',
link: '/de/contact/'
},
],
},
'/en/': {
lang: 'en-US', // this will be set as the lang attribute on
title: 'Ocelot.Social',
description: 'Ocelot.Social – Free and open source software to create and run your own social network.',
copyright: '© by busFaktor() e.V. & Friends | Imprint | Privacy Policy',
footer: 'Released under the MIT License.',
navbar: [
{
text: 'Features',
link: '/en/features/'
},
{
text: 'Get Started',
link: '/en/get-started/'
},
{
text: 'Contribute',
link: '/en/contribute/'
},
{
text: 'Learn',
link: '/en/learn/' ,
},
{
text: 'Donate',
link: '/en/donate/'
},
{
text: 'Contact',
link: '/en/contact/'
},
],
},
'/fr/': {
lang: 'fr-FR',
title: 'Ocelot.Social',
description: 'Ocelot.Social - Logiciel open source et gratuit pour créer et gérer votre propre réseau social.',
copyright: '© par busFaktor() e.V. & amis | Mentions légales | Protection des données',
footer: 'Publié sous la licence MIT.',
navbar: [
{
text: 'Fonctionnalités',
link: '/fr/features/'
},
{
text: 'Commencer',
link: '/fr/get-started/'
},
{
text: 'Contribuer',
link: '/fr/contribute/'
},
{
text: 'Apprendre',
link: '/fr/learn/' ,
},
{
text: 'Donner',
link: '/fr/donate/'
},
{
text: 'Contact',
link: '/fr/contact/'
},
],
}
},
plugins: {
blog: {
excerptLength: 0,
},
mdEnhance: {
align: true,
demo: true,
imgLazyload: true,
imgMark: true,
imgSize: true,
sub: true,
sup: true,
vPre: true,
},
redirect: {
autoLocale: true,
defaultBehavior: 'defaultLocale',
defaultLocale: '/de/',
localeConfig: {
'/de/': ['de-DE', 'de'],
'/en/': ['en-US', 'en'],
'/fr/': ['fr-FR', 'fr'],
},
localeFallback: false,
},
searchPro: {
indexContent: true,
autoSuggestions: true,
customFields: [
{
getter: (page) => page.frontmatter.category,
formatter: "Category: $content",
},
{
getter: (page) => page.frontmatter.tag,
formatter: "Tag: $content",
},
],
},
seo: {
fallbackImage: '/logo.svg',
hostname: 'https://ocelot.social/'
}
},
iconAssets: "fontawesome",
})