From 10940ca230a3b6bfd63f8214e7f272e0158dbad5 Mon Sep 17 00:00:00 2001 From: Nicolas Giard Date: Mon, 24 Dec 2018 17:38:34 -0500 Subject: [PATCH] feat: seo meta + page titles --- client/components/admin/admin-general.vue | 11 ----------- client/components/common/loader.vue | 2 ++ client/components/login.vue | 4 ++-- .../admin/site/site-mutation-save-config.gql | 2 -- client/graph/admin/site/site-query-config.gql | 1 - dev/templates/master.pug | 16 +++++++++++++--- server/controllers/auth.js | 3 +++ server/controllers/common.js | 12 ++++++++++++ server/graph/resolvers/site.js | 1 - server/graph/schemas/site.graphql | 2 -- server/master.js | 6 ++++++ server/middlewares/seo.js | 1 + server/setup.js | 1 - server/views/master.pug | 16 +++++++++++++--- 14 files changed, 52 insertions(+), 26 deletions(-) diff --git a/client/components/admin/admin-general.vue b/client/components/admin/admin-general.vue index ff92b9c6..397b88c0 100644 --- a/client/components/admin/admin-general.vue +++ b/client/components/admin/admin-general.vue @@ -49,15 +49,6 @@ v-model='config.description' prepend-icon='explore' ) - v-text-field( - outline - label='Site Keywords' - :counter='255' - v-model='config.keywords' - prepend-icon='explore' - hint='Comma-separated list of keywords.' - persistent-hint - ) v-select.mt-2( outline label='Meta Robots' @@ -170,7 +161,6 @@ export default { host: '', title: '', description: '', - keywords: '', robots: [], ga: '', company: '', @@ -196,7 +186,6 @@ export default { host: this.config.host || '', title: this.config.title || '', description: this.config.description || '', - keywords: this.config.keywords || '', robots: this.config.robots || [], ga: this.config.ga || '', company: this.config.company || '', diff --git a/client/components/common/loader.vue b/client/components/common/loader.vue index c2205a93..88a88b18 100644 --- a/client/components/common/loader.vue +++ b/client/components/common/loader.vue @@ -51,6 +51,8 @@ export default {