-
-
Notifications
You must be signed in to change notification settings - Fork 2
/
nuxt.config.ts
43 lines (43 loc) · 942 Bytes
/
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
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ["@nuxt/ui", "@nuxt/content", "@nuxthq/studio", "@nuxt/image", "nuxt-simple-sitemap", "nuxt-simple-robots"],
content: {
highlight: {
theme: {
default: "github-light", // Default theme
dark: "github-dark", // Theme used if `html.dark`
},
},
markdown: {
remarkPlugins: ["remark-reading-time"],
},
},
colorMode: {
preference: "light",
},
image: {
format: ["avif", "webp"],
},
app: {
head: {
htmlAttrs: { lang: "en" },
charset: "utf-8",
viewport: "width=device-width, initial-scale=1",
},
},
robots: {
disallow: [],
allow: "*",
},
sitemap: {
strictNuxtContentPaths: true,
},
site: {
url: "https://nir.galons.io",
name: "Nir Galon",
},
nitro: {
preset: "github_pages",
},
});