mirror of
https://github.com/ArthurDanjou/website-old.git
synced 2026-01-14 20:19:35 +01:00
42 lines
1.4 KiB
TypeScript
42 lines
1.4 KiB
TypeScript
// Global page headers: https://go.nuxtjs.dev/config-head
|
|
import {NuxtOptionsHead} from "@nuxt/types/config/head";
|
|
|
|
const params = {
|
|
title: 'artsite',
|
|
color: '#0DA5FF',
|
|
image: '/images/image.jpg',
|
|
url: 'https://arthurdanjou.fr',
|
|
favicon: {
|
|
type: 'image/jpg',
|
|
href: '/favicon.jpg',
|
|
},
|
|
description:
|
|
'Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. ',
|
|
}
|
|
|
|
export default {
|
|
htmlAttrs: { lang: 'fr-FR' },
|
|
title: params.title,
|
|
meta: [
|
|
{ charset: 'utf-8' },
|
|
{ lang: 'fr-FR' },
|
|
{ name: 'viewport', content: 'width=device-width, initial-scale=1' },
|
|
{ hid: 'description', name: 'description', content: params.description },
|
|
|
|
/**
|
|
* Open graph
|
|
* See : https://ogp.me/
|
|
*/
|
|
{ hid: 'og:type', name: 'og:type', content: 'website' },
|
|
{ hid: 'og:url', name: 'og:url', content: params.url },
|
|
{ hid: 'og:title', name: 'og:title', content: params.title },
|
|
{ hid: 'og:site_name', name: 'og:site_name', content: params.title },
|
|
{ hid: 'og:locale', name: 'og:locale', content: 'fr' },
|
|
{ hid: 'og:image', name: 'og:image', content: params.image },
|
|
|
|
{ name: 'msapplication-TileColor', content: params.color },
|
|
{ name: 'theme-color', content: params.color },
|
|
],
|
|
link: [{ rel: 'icon', type: params.favicon.type, href: params.favicon.href }],
|
|
} as NuxtOptionsHead
|