-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathnuxt.config.ts
98 lines (98 loc) · 2.96 KB
/
nuxt.config.ts
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
// https://v3.nuxtjs.org/api/configuration/nuxt.config
export default defineNuxtConfig({
ssr: true,
css: [
'@fontsource/dm-mono/400.css',
'@fontsource/dm-mono/400-italic.css',
'@fontsource/dm-mono/500.css',
'@fontsource/dm-mono/500-italic.css',
'@fontsource/dm-sans/400.css',
'@fontsource/dm-sans/400-italic.css',
'@fontsource/dm-sans/700.css',
'@fontsource/dm-sans/700-italic.css',
'assets/scss/main.scss'
],
app: {
head: {
title: 'm4rc3l.de',
titleTemplate: '%s - m4rc3l.de',
viewport: 'width=device-width, initial-scale=1',
charset: 'utf-8',
htmlAttrs: {
lang: 'en'
},
meta: [
{hid: 'format-detection', name: 'format-detection', content: 'telephone=no'},
{
hid: 'description',
name: 'description',
content: 'Hi, my name is Marcel. This is my website where you can find my personal profile and my blog.'
},
{hid: 'theme-color', name: 'theme-color', content: '#1f2638'},
{hid: 'og:type', name: 'og:type', content: 'website'},
{hid: 'og:title', name: 'og:title', content: 'm4rc3l.de'},
{hid: 'og:site_name', name: 'og:site_name', content: 'm4rc3l.de'},
{
hid: 'og:description',
name: 'og:description',
content: 'Hi, my name is Marcel. This is my website where you can find my personal profile and my blog.'
},
{hid: 'og:url', name: 'og:url', content: 'https://m4rc3l.de'},
{hid: 'og:image', name: 'og:image', content: 'https://m4rc3l.de/avatar.png'},
{hid: 'og:image:width', name: 'og:image:width', content: '512px'},
{hid: 'og:image:height', name: 'og:image:height', content: '512px'},
{hid: 'og:image:type', name: 'og:image:type', content: 'image/png'},
{hid: 'twitter:card', name: 'twitter:card', content: 'summary'},
{hid: 'twitter:site', name: 'twitter:site', content: '@MarcelCoding'},
{hid: 'twitter:creator', name: 'twitter:creator', content: '@MarcelCoding'},
],
link: [
{rel: 'icon', type: 'image/png', href: '/icon.png'}
],
script: [
{
defer: true,
async: true,
"data-website-id": "f2cd72b7-fc15-46a6-9846-faad85b0afcb",
"data-domains": "m4rc3l.de",
"data-host-url": "https://umami.m4rc3l.de",
src: "/idk_how_to_name_this.js"
},
{
defer: true,
async: true,
src: "/email.js"
}
],
},
},
modules: [
'@nuxt/content',
'@nuxt/image-edge'
],
nitro: {
prerender: {
routes: [
'/sitemap.xml',
'/blog.atom',
'/blog.json',
'/blog.rss',
'/404.html',
],
}
},
content: {
highlight: {
theme: 'monokai',
preload: [
'docker',
'shell',
'yaml',
'js'
]
},
},
telemetry: false,
typescript: {strict: true},
image: {dir: 'assets/images'}
});