Skip to content

Commit 93aaf2c

Browse files
feat: improve SEO
1 parent 9df2ee8 commit 93aaf2c

File tree

1 file changed

+10
-1
lines changed

1 file changed

+10
-1
lines changed

nuxt.config.ts

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
const NAME = 'Horu'
2+
13
export default defineNuxtConfig({
24
future: {
35
compatibilityVersion: 4,
@@ -13,8 +15,15 @@ export default defineNuxtConfig({
1315
head: {
1416
charset: 'utf-8',
1517
viewport: 'width=device-width, initial-scale=1',
16-
title: 'Horu.me',
18+
title: NAME,
1719
htmlAttrs: { lang: 'en' },
20+
meta: [
21+
{ name: 'apple-mobile-web-app-title', content: NAME },
22+
{ name: 'application-name', content: NAME },
23+
{ name: 'twitter:title', content: NAME },
24+
{ name: 'twitter:card', content: 'summary' },
25+
{ property: 'og:title', content: NAME },
26+
],
1827
},
1928
},
2029

0 commit comments

Comments
 (0)