-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathnuxt.config.ts
49 lines (44 loc) · 1.53 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
import { defineNuxtConfig } from "nuxt/config";
// https://nuxt.com/docs/api/configuration/nuxt-config
export default defineNuxtConfig({
devtools: { enabled: true },
modules: ['@nuxt/content'],
routeRules: {
'/': { prerender: true }
},
css: [
'./assets/css/font.css',
'github-markdown-css',
],
content: {
highlight: {
theme: 'github-light'
}
},
compatibilityDate: '2024-10-21',
app: {
head: {
link: [
{ rel: 'icon', type: 'image/png', href: '/favicon.png' },
{ rel: "stylesheet", href: "https://fonts.googleapis.com/css2?family=BIZ+UDPGothic&display=swap" }
],
htmlAttrs: {
lang: 'ja',
prefix: 'og: http://ogp.me/ns#'
},
title: 'ponyoxa portal',
meta: [
{ charset: 'utf-8' },
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
{ hid: 'description', name: 'description', content: 'ponyoxa が運営するブログです' },
{ hid: 'og:site_name', property: 'og:site_name', content: 'ponyoxa blog' },
{ hid: 'og:type', property: 'og:type', content: 'website' },
{ hid: 'og:url', property: 'og:url', content: 'https://ponyoxa.com/' },
{ hid: 'og:title', property: 'og:title', content: 'ponyoxa blog' },
{ hid: 'og:description', property: 'og:description', content: 'ponyoxa が運営するブログです' },
{ hid: 'og:image', property: 'og:image', content: 'blog-ogp-2.png' },
{ name: 'twitter:card', content: 'summary' }
]
}
}
})