From 09878e9d5eb0b0a878c8802dd6c0fcc9216fcb7f Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 4 Feb 2019 21:28:29 +0000 Subject: [PATCH] meta social stuff --- TODO.md | 3 +-- nuxt.config.js | 16 +++++++++++++++- pages/index.vue | 2 +- 3 files changed, 17 insertions(+), 4 deletions(-) diff --git a/TODO.md b/TODO.md index 416c41a..8c077f0 100644 --- a/TODO.md +++ b/TODO.md @@ -1,6 +1,5 @@ ## TODO -* services - background image for mobile -* facebook/twitter social card thingies +* facebook/twitter social card images * API ## Maybes diff --git a/nuxt.config.js b/nuxt.config.js index 69d6f26..ced0ed6 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -16,7 +16,21 @@ module.exports = { meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: 'The website of photographer Marc Leopold.' } + { hid: 'description', name: 'description', content: 'Marc Leopold is a Chicago born photographer whose images have appeared in many collections and publications. His website is a showcase of his outstanding work and an insight into his philosophy and motivations.' }, + + { property: 'og:image', content: ''}, + { property: 'og:image:width', content: ''}, + { property: 'og:image:height', content: ''}, + { property: 'og:title', content: 'Marc Leopold Photography' }, + { property: 'og:url', content: 'https://marcleopold.isnet.uk' }, + { property: 'og:site_name', content: 'Marc Leopold Photography' }, + { property: 'og:type', content: 'website'}, + { property: 'og:description', content: 'Marc Leopold is a Chicago born photographer whose images have appeared in many collections and publications. His website is a showcase of his outstanding work and an insight into his philosophy and motivations.' }, + { name: 'twitter:card', content: 'summary' }, + { name: 'twitter:title', content: 'Marc Leopold Photography' }, + { name: 'twitter:image', content: '' }, + { name: 'twitter:image:alt', content: 'The website of Marc Leopold Photography.' }, + { name: 'twitter:creator', content: '@studiovxweb' }, ], link: [ { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' }, diff --git a/pages/index.vue b/pages/index.vue index e5cc90c..9c1f23b 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -62,7 +62,7 @@ export default { meta: [{ hid: 'description', name: 'description', - content: 'The Home Page of photographer Marc Leopold.' + content: 'Photographer, Marc Leopold has images in numerous collections and publications. Here is a glimpse of his work, an insight into his philosophy and motivations.' }], } },