mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-26 18:00:38 +01:00
Add SEO modules
This commit is contained in:
@@ -2,9 +2,13 @@ export default {
|
||||
meta: [
|
||||
{ charset: 'utf-8' },
|
||||
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
||||
{ hid: 'description', name: 'description', content: 'Web & Software Developer' }
|
||||
{ hid: 'description', name: 'description', content: 'ArtSite is my personal website build using NuxtJs to create a single point of contact' },
|
||||
{ hid: 'og:type', name: 'og:type', content: 'website' },
|
||||
{ hid: 'og:url', name: 'og:url', content: 'https://arthurdanjou.fr' },
|
||||
{ hid: 'og:title', name: 'og:title', content: 'Arthur Danjou | FullStack Web & Software Developer' },
|
||||
{ hid: 'og:site_name', name: 'og:site_name', content: 'Arthur Danjou | FullStack Web & Software Developer' },
|
||||
],
|
||||
link: [
|
||||
{ rel: 'icon', type: 'image/png', href: '/favicon.png' }
|
||||
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' }
|
||||
]
|
||||
}
|
||||
|
||||
14
config/Redirect.ts
Normal file
14
config/Redirect.ts
Normal file
@@ -0,0 +1,14 @@
|
||||
export default [
|
||||
{
|
||||
from: '^/twitter',
|
||||
to: 'https://twitter.com/ArthurDanj'
|
||||
},
|
||||
{
|
||||
from: '^/github',
|
||||
to: 'https://github.com/ArthurDanjou'
|
||||
},
|
||||
{
|
||||
from: '^/source',
|
||||
to: 'https://github.com/ArthurDanjou/artsite'
|
||||
}
|
||||
]
|
||||
5
config/Robots.ts
Normal file
5
config/Robots.ts
Normal file
@@ -0,0 +1,5 @@
|
||||
export default {
|
||||
UserAgent: '*',
|
||||
Sitemap: 'https://arthurdanjou.fr/sitemap.xml',
|
||||
Allow: '*'
|
||||
}
|
||||
7
config/SiteMap.ts
Normal file
7
config/SiteMap.ts
Normal file
@@ -0,0 +1,7 @@
|
||||
export default {
|
||||
path: '/sitemap.xml',
|
||||
hostname: 'https://arthurdanjou.fr',
|
||||
cacheTime: 720000,
|
||||
gzip: true,
|
||||
generate: false,
|
||||
}
|
||||
@@ -4,5 +4,8 @@ import ColorMode from './ColorMode'
|
||||
import Tailwind from './Tailwind'
|
||||
import Translation from './Translation'
|
||||
import Content from './Content'
|
||||
import Robots from './Robots'
|
||||
import Redirect from './Redirect'
|
||||
import SiteMap from "./SiteMap";
|
||||
|
||||
export { Axios, Head, ColorMode, Tailwind, Translation, Content }
|
||||
export { Axios, Head, ColorMode, Tailwind, Translation, Content, Robots, Redirect, SiteMap }
|
||||
|
||||
Reference in New Issue
Block a user