From 367934cdd5738d07ea9bd456f1f7d15dbea6dc66 Mon Sep 17 00:00:00 2001 From: ManjaroOne666 Date: Mon, 4 Feb 2019 12:53:18 +0000 Subject: [PATCH] page meta descriptions --- TODO.md | 2 +- nuxt.config.js | 2 +- pages/about.vue | 6 +++++- pages/contact.vue | 6 +++++- pages/galleries.vue | 6 +++++- pages/index.vue | 6 +++++- pages/services.vue | 6 +++++- 7 files changed, 27 insertions(+), 7 deletions(-) diff --git a/TODO.md b/TODO.md index ef4bb4c..416c41a 100644 --- a/TODO.md +++ b/TODO.md @@ -1,7 +1,7 @@ ## TODO -* page descriptions etc * services - background image for mobile * facebook/twitter social card thingies +* API ## Maybes * gallery page - featured images in same style as on services page with the diff --git a/nuxt.config.js b/nuxt.config.js index 27b897d..69d6f26 100644 --- a/nuxt.config.js +++ b/nuxt.config.js @@ -16,7 +16,7 @@ module.exports = { meta: [ { charset: 'utf-8' }, { name: 'viewport', content: 'width=device-width, initial-scale=1' }, - { hid: 'description', name: 'description', content: pkg.description } + { hid: 'description', name: 'description', content: 'The website of photographer Marc Leopold.' } ], link: [ { rel: 'icon', type: 'image/png', sizes: '16x16', href: '/favicon-16x16.png' }, diff --git a/pages/about.vue b/pages/about.vue index 15cacc9..fa728b2 100644 --- a/pages/about.vue +++ b/pages/about.vue @@ -47,7 +47,11 @@ export default { head () { return { title: 'About Me', - // TODO meta - hid, name, content + meta: [{ + hid: 'description', + name: 'description', + content: 'All about the work of photographer Marc Leopold, his philosophy and inspirations.' + }], } }, diff --git a/pages/contact.vue b/pages/contact.vue index 0b582be..5aa11a6 100644 --- a/pages/contact.vue +++ b/pages/contact.vue @@ -110,7 +110,11 @@ export default { head () { return { title: 'Contact Me', - // TODO meta - hid, name, content + meta: [{ + hid: 'description', + name: 'description', + content: 'Contact the photographer Marc Leopold with any queries for a prompt response.' + }], } }, diff --git a/pages/galleries.vue b/pages/galleries.vue index f0a7828..c93d1a8 100644 --- a/pages/galleries.vue +++ b/pages/galleries.vue @@ -16,7 +16,11 @@ export default { head () { return { title: 'My Galleries', - // TODO meta - hid, name, content + meta: [{ + hid: 'description', + name: 'description', + content: 'A showcase of the work of photographer Marc Leopold.' + }], } }, diff --git a/pages/index.vue b/pages/index.vue index 9c020b2..e5cc90c 100644 --- a/pages/index.vue +++ b/pages/index.vue @@ -59,7 +59,11 @@ export default { head () { return { title: 'Home', - // TODO meta - hid, name, content + meta: [{ + hid: 'description', + name: 'description', + content: 'The Home Page of photographer Marc Leopold.' + }], } }, diff --git a/pages/services.vue b/pages/services.vue index de047cc..73dc151 100644 --- a/pages/services.vue +++ b/pages/services.vue @@ -61,7 +61,11 @@ export default { head () { return { title: 'My Services', - // TODO meta - hid, name, content + meta: [{ + hid: 'description', + name: 'description', + content: 'An overview of the services provided by the photographer marc Leopold.' + }], } },