k0r.386/.vitepress/config.mts

74 lines
2.9 KiB
TypeScript
Raw Normal View History

2023-12-06 16:37:53 +01:00
import { defineConfig } from 'vitepress'
import { defineConfigWithTheme } from 'vitepress'
import type { ThemeConfig } from './theme/Config'
export default defineConfigWithTheme<ThemeConfig>({
title: "k0r.386",
description: "Norman Köhrings Homepage",
2023-12-06 16:47:40 +01:00
lang: 'en',
head: [
['link', { rel: 'icon', href: '/favicon.png' }],
['link', { rel: 'alternate', href: 'https://k0r.in' }],
['link', { rel: 'alternate', href: 'https://koehr.in' }],
['link', { rel: 'alternate', href: 'https://koehr.ing' }],
['link', { rel: 'canonical', href: 'https://koehr.ing' }],
2023-12-06 17:00:26 +01:00
['meta', { content: "The personal page and weblog of Norman Köhring", name: "description" }],
['meta', { content: "Norman Köhring", name: "author" }],
['meta', { content: "the codeartist — programmer and engineer based in Berlin", name: "DC.title" }],
['meta', { content: "52.4595, 13.5335", name: "ICBM" }],
['meta', { content: "52.4595; 13.5335", name: "geo.position" }],
['meta', { content: "DE-BE", name: "geo.region" }],
['meta', { content: "Berlin", name: "geo.plac,ename" }],
['meta', { content: "width=device-width,initial-scale=1.0", name: "viewport" }],
2023-12-06 16:47:40 +01:00
],
2023-12-06 16:37:53 +01:00
themeConfig: {
2023-12-10 17:26:39 +01:00
defaultHeaderFont: 'Basic',
2023-12-06 16:37:53 +01:00
commands: [{
command: 'about',
aliases: ['info'],
help: 'Who is Norman Köhring?',
message: 'Norman Köhring is a programmer, hacker and open source enthusiast based in Berlin. He is the Principal Frontend Engineer at Code Gaia, where he is a proud part of revolutionizing carbon emission reporting.',
uris: [{
label: 'Berlin', uri: 'https://www.openstreetmap.org/#map=12/52.4595/13.5335'
}, {
label: 'CodeGaia', uri: 'https://codegaia.io/'
}, {
label: 'Hacker?', uri: 'https://en.wikipedia.org/wiki/Hacker'
}]
}, {
command: 'contact',
2023-12-06 17:00:26 +01:00
aliases: ['email', 'homepage', 'www'],
2023-12-06 16:37:53 +01:00
help: 'How to contact Norman Köhring?',
message: [
'# other servers',
'email - n@koehr.in OR norman.koehring@mailbox.org',
'mastodon - mstdn.io/@koehr',
'twitter - twitter.com/koehr_in',
'github - github.com/nkoehring',
'instagram - instagram.com/coffee_n_code',
'500px - 500px.com/koehr',
'# my server',
'sourcecode - git.k0r.in/ (forgejo)',
'fediverse - m.k0r.in/@n (misskey)',
].join('\n'),
uris: [{
label: 'email', uri: 'mailto:n@koehr.in'
}, {
label: 'mastodon', uri: 'https://mstdn.io/@koehr'
}, {
label: 'twitter', uri: 'https://twitter.com/koehr_in'
}, {
label: 'github', uri: 'https://github.com/nkoehring'
}, {
label: 'instagram', uri: 'https://instagram.com/coffee_n_code'
}, {
label: '500px', uri: 'https://500px.com/koehr'
}, {
label: 'sourcecode', uri: 'https://git.k0r.in/'
}, {
label: 'fediverse', uri: 'https://m.k0r.in/@n'
}]
}],
}
})