85 lines
2.2 KiB
TypeScript
85 lines
2.2 KiB
TypeScript
|
import { defineUserConfig } from "vuepress";
|
||
|
import { viteBundler } from "@vuepress/bundler-vite";
|
||
|
import { mkMyTheme } from "./theme.js";
|
||
|
import { redirectPlugin } from "@vuepress/plugin-redirect";
|
||
|
|
||
|
export default defineUserConfig({
|
||
|
lang: "ru-RU",
|
||
|
|
||
|
title: "Дмитрий Плешевский",
|
||
|
description: " ",
|
||
|
|
||
|
locales: {
|
||
|
"/": {
|
||
|
lang: "ru-RU",
|
||
|
title: "Дмитрий Плешевский",
|
||
|
},
|
||
|
"/eng/": {
|
||
|
lang: "en-US",
|
||
|
title: "Dmitriy Pleshevskiy",
|
||
|
},
|
||
|
},
|
||
|
|
||
|
theme: mkMyTheme({
|
||
|
hostname: "https://pleshevski.ru",
|
||
|
|
||
|
repo: "https://git.pleshevski.ru/pleshevskiy/pleshevski.ru",
|
||
|
|
||
|
locales: {
|
||
|
"/": {
|
||
|
selectLanguageName: "Русский",
|
||
|
navbar: ["/", "/works"],
|
||
|
notFound: [
|
||
|
"Верните страницу!",
|
||
|
"Мы потеряли страницу...",
|
||
|
"Вы заблокированы в лабиринте.",
|
||
|
"Искали кота?",
|
||
|
"Страница украдена.",
|
||
|
"Ошиблись в параллельной вселенной.",
|
||
|
],
|
||
|
backToHome: "Вернуться на главную",
|
||
|
worksTable: {
|
||
|
name: "Название",
|
||
|
description: "Описание",
|
||
|
role: "Роль",
|
||
|
technologies: "Технологии",
|
||
|
start: "Начало",
|
||
|
statusOrEnd: "Статус/Окончание",
|
||
|
},
|
||
|
},
|
||
|
"/eng/": {
|
||
|
selectLanguageName: "English",
|
||
|
navbar: ["/eng/", "/eng/works"],
|
||
|
notFound: [
|
||
|
"Return the page!",
|
||
|
"We lost a page...",
|
||
|
"You're blocked in a labyrinth.",
|
||
|
"Looking for a cat?",
|
||
|
"The page has been stolen.",
|
||
|
"Wrong turn in parallel universe.",
|
||
|
],
|
||
|
backToHome: "Back to home",
|
||
|
worksTable: {
|
||
|
name: "Name",
|
||
|
description: "Description",
|
||
|
role: "Role",
|
||
|
technologies: "Technologies",
|
||
|
start: "Start",
|
||
|
statusOrEnd: "Status/End",
|
||
|
},
|
||
|
},
|
||
|
},
|
||
|
}),
|
||
|
|
||
|
plugins: [
|
||
|
redirectPlugin({
|
||
|
config: {
|
||
|
"/rus/": "/",
|
||
|
"/rus/works.html": "/works.html",
|
||
|
},
|
||
|
}),
|
||
|
],
|
||
|
|
||
|
bundler: viteBundler(),
|
||
|
});
|