mirror of
https://github.com/draussenfunker/draussenfunker.github.io.git
synced 2026-07-23 08:56:03 +00:00
fix config
This commit is contained in:
parent
f6688a2edd
commit
f223b9b9f5
1 changed files with 11 additions and 3 deletions
|
|
@ -1,23 +1,31 @@
|
||||||
const { defaultTheme } = require("@vuepress/theme-default");
|
const { defaultTheme } = require("@vuepress/theme-default");
|
||||||
const { socialSharePlugin } = require(`vuepress-plugin-social-share`);
|
const { socialSharePlugin } = require("vuepress-plugin-social-share");
|
||||||
const {
|
const {
|
||||||
registerComponentsPlugin,
|
registerComponentsPlugin,
|
||||||
} = require("@vuepress/plugin-register-components");
|
} = require("@vuepress/plugin-register-components");
|
||||||
const { path } = require("@vuepress/utils");
|
const { path } = require("@vuepress/utils");
|
||||||
const { usePagesPlugin } = require("vuepress-plugin-use-pages");
|
const { usePagesPlugin } = require("vuepress-plugin-use-pages");
|
||||||
|
|
||||||
|
const socialShare = socialSharePlugin();
|
||||||
|
|
||||||
|
if (typeof socialShare.clientConfigFile === "string") {
|
||||||
|
socialShare.clientConfigFile = socialShare.clientConfigFile.replace(/\\/g, "/");
|
||||||
|
}
|
||||||
|
|
||||||
module.exports = {
|
module.exports = {
|
||||||
lang: "de-DE",
|
lang: "de-DE",
|
||||||
title: "Draussenfunker.de | QRV im Grünen",
|
title: "Draussenfunker.de | QRV im Grünen",
|
||||||
description:
|
description:
|
||||||
"Wir sind eine Gruppe von Funkamateuren, die sich mit dem Thema Funken im Freien beschäftigt.",
|
"Wir sind eine Gruppe von Funkamateuren, die sich mit dem Thema Funken im Freien beschäftigt.",
|
||||||
|
|
||||||
plugins: [
|
plugins: [
|
||||||
usePagesPlugin({ startsWith: "/aktivitaeten/" }),
|
usePagesPlugin({ startsWith: "/aktivitaeten/" }),
|
||||||
socialSharePlugin(),
|
socialShare,
|
||||||
registerComponentsPlugin({
|
registerComponentsPlugin({
|
||||||
componentsDir: path.resolve(__dirname, "./components"),
|
componentsDir: path.resolve(__dirname, "./components"),
|
||||||
}),
|
}),
|
||||||
],
|
],
|
||||||
|
|
||||||
theme: defaultTheme({
|
theme: defaultTheme({
|
||||||
sidebarDepth: 2,
|
sidebarDepth: 2,
|
||||||
contributors: false,
|
contributors: false,
|
||||||
|
|
@ -26,8 +34,8 @@ module.exports = {
|
||||||
notFound: ["Sorry, etwas ist schief gelaufen."],
|
notFound: ["Sorry, etwas ist schief gelaufen."],
|
||||||
backToHome: "Zurück zur Startseite",
|
backToHome: "Zurück zur Startseite",
|
||||||
lastUpdatedText: "Aktualisiert am",
|
lastUpdatedText: "Aktualisiert am",
|
||||||
|
|
||||||
navbar: [
|
navbar: [
|
||||||
// NavbarItem
|
|
||||||
{
|
{
|
||||||
text: "Start",
|
text: "Start",
|
||||||
link: "/",
|
link: "/",
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue