mirror of
https://github.com/Ocelot-Social-Community/ocelot.social.git
synced 2025-12-13 07:46:08 +00:00
feat(content): set navbar in the locales.
This commit is contained in:
parent
98c60e6d77
commit
68996cea70
@ -11,24 +11,56 @@ export default hopeTheme({
|
|||||||
contributors: false,
|
contributors: false,
|
||||||
displayFooter: true,
|
displayFooter: true,
|
||||||
print: false,
|
print: false,
|
||||||
copyright: '© by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authors | <a href="/impressum/">Impressum</a>',
|
locales:{
|
||||||
footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.',
|
// The key is the path for the locale to be nested under.
|
||||||
navbar: [
|
// As a special case, the default locale can use '/' as its path.
|
||||||
{
|
'/en/': {
|
||||||
text: 'Documentation', link: 'https://docs.ocelot.social/'
|
lang: 'en-US', // this will be set as the lang attribute on <html>
|
||||||
|
title: 'Ocelot.Social',
|
||||||
|
// description: ''
|
||||||
|
copyright: '© by <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authors | <a href="/impressum/">Impressum</a>',
|
||||||
|
footer: 'Released under the <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a>.',
|
||||||
|
navbar: [
|
||||||
|
{
|
||||||
|
text: 'Documentation', link: 'https://docs.ocelot.social/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Demo', link: 'https://stage.ocelot.social/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Github',
|
||||||
|
link: 'https://github.com/Ocelot-Social-Community'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Imprint',
|
||||||
|
link: '/impressum/'
|
||||||
|
},
|
||||||
|
],
|
||||||
},
|
},
|
||||||
{
|
'/': {
|
||||||
text: 'Demo', link: 'https://stage.ocelot.social/'
|
lang: 'de-DE',
|
||||||
},
|
title: 'Ocelot.Social',
|
||||||
{
|
// description: ''
|
||||||
text: 'Github',
|
copyright: '© von <a href="https://busfaktor.org" target="_blank">busFaktor() e.V.</a> & Authoren | <a href="/impressum/">Impressum</a>',
|
||||||
link: 'https://github.com/Ocelot-Social-Community'
|
footer: 'Unter der <a class="vt-link link link" href="https://opensource.org/licenses/MIT" target="_blank" rel="noopener noreferrer"><!--[-->MIT License<!--]--><!----></a> ausgeliefert.',
|
||||||
},
|
navbar: [
|
||||||
{
|
{
|
||||||
text: 'Impressum',
|
text: 'Documentation', link: 'https://docs.ocelot.social/'
|
||||||
link: '/impressum/'
|
},
|
||||||
},
|
{
|
||||||
],
|
text: 'Demo', link: 'https://stage.ocelot.social/'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Github',
|
||||||
|
link: 'https://github.com/Ocelot-Social-Community'
|
||||||
|
},
|
||||||
|
{
|
||||||
|
text: 'Impressum',
|
||||||
|
link: '/impressum/'
|
||||||
|
},
|
||||||
|
],
|
||||||
|
}
|
||||||
|
},
|
||||||
plugins: {
|
plugins: {
|
||||||
mdEnhance: {
|
mdEnhance: {
|
||||||
align: true,
|
align: true,
|
||||||
|
|||||||
@ -3,9 +3,7 @@ home: false
|
|||||||
# layout: BlogHome
|
# layout: BlogHome
|
||||||
icon: home
|
icon: home
|
||||||
title: Imprint | Ocelot.Social
|
title: Imprint | Ocelot.Social
|
||||||
heroFullScreen: false
|
sidebar: false
|
||||||
heroImage: /logo.svg
|
|
||||||
heroText: Free and open-source social network for active citizenship.
|
|
||||||
tagLine:
|
tagLine:
|
||||||
# actions:
|
# actions:
|
||||||
# - text: Demo
|
# - text: Demo
|
||||||
|
|||||||
@ -3,9 +3,7 @@ home: false
|
|||||||
# layout: BlogHome
|
# layout: BlogHome
|
||||||
icon: home
|
icon: home
|
||||||
title: Impressum | Ocelot.Social
|
title: Impressum | Ocelot.Social
|
||||||
heroFullScreen: false
|
sidebar: false
|
||||||
heroImage: /logo.svg
|
|
||||||
heroText: Free and open-source social network for active citizenship.
|
|
||||||
tagLine:
|
tagLine:
|
||||||
# actions:
|
# actions:
|
||||||
# - text: Demo
|
# - text: Demo
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user