From 235d2c989624905031b8e2d14f09ca08f9d1ba59 Mon Sep 17 00:00:00 2001 From: Maxime Moraine Date: Tue, 28 Apr 2020 14:47:20 +0200 Subject: [PATCH] =?UTF-8?q?ajout=20de=20title=20sur=20les=20pages=20sp?= =?UTF-8?q?=C3=A9ciales?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/.vuepress/theme/layouts/AbilityCalculatorLayout.vue | 2 ++ docs/.vuepress/theme/layouts/CreateMagicItemLayout.vue | 2 ++ docs/.vuepress/theme/layouts/CreateMonsterLayout.vue | 2 ++ docs/.vuepress/theme/layouts/CreateSpellLayout.vue | 2 ++ 4 files changed, 8 insertions(+) diff --git a/docs/.vuepress/theme/layouts/AbilityCalculatorLayout.vue b/docs/.vuepress/theme/layouts/AbilityCalculatorLayout.vue index 2c10938..f3f70ce 100644 --- a/docs/.vuepress/theme/layouts/AbilityCalculatorLayout.vue +++ b/docs/.vuepress/theme/layouts/AbilityCalculatorLayout.vue @@ -17,6 +17,8 @@ export default { this.$store.commit('setHasRightDrawer', false) this.$store.commit('setRightDrawer', this.$vuetify.breakpoint.lgAndUp) this.$store.commit('setInRightDrawer', null) + + this.$page.title = 'Calculateur de caractéristiques' } } diff --git a/docs/.vuepress/theme/layouts/CreateMagicItemLayout.vue b/docs/.vuepress/theme/layouts/CreateMagicItemLayout.vue index ce56178..1c7eff7 100644 --- a/docs/.vuepress/theme/layouts/CreateMagicItemLayout.vue +++ b/docs/.vuepress/theme/layouts/CreateMagicItemLayout.vue @@ -210,6 +210,8 @@ export default { this.$store.commit('setRightDrawer', this.$vuetify.breakpoint.lgAndUp) this.$store.commit('setInRightDrawer', null) + this.$page.title = "Création d'objet magique" + let magicItemKey = getUrlParameter(window.location.href, "key") if (magicItemKey) { diff --git a/docs/.vuepress/theme/layouts/CreateMonsterLayout.vue b/docs/.vuepress/theme/layouts/CreateMonsterLayout.vue index a7d4e97..212d0c3 100644 --- a/docs/.vuepress/theme/layouts/CreateMonsterLayout.vue +++ b/docs/.vuepress/theme/layouts/CreateMonsterLayout.vue @@ -485,6 +485,8 @@ export default { this.$store.commit('setRightDrawer', this.$vuetify.breakpoint.lgAndUp) this.$store.commit('setInRightDrawer', null) + this.$page.title = "Création de monstre/PNJ" + let monsterKey = getUrlParameter(window.location.href, "key") if (monsterKey) { diff --git a/docs/.vuepress/theme/layouts/CreateSpellLayout.vue b/docs/.vuepress/theme/layouts/CreateSpellLayout.vue index 7abd506..b57dc96 100644 --- a/docs/.vuepress/theme/layouts/CreateSpellLayout.vue +++ b/docs/.vuepress/theme/layouts/CreateSpellLayout.vue @@ -255,6 +255,8 @@ export default { this.$store.commit('setRightDrawer', this.$vuetify.breakpoint.lgAndUp) this.$store.commit('setInRightDrawer', null) + this.$page.title = "Création de sort" + let spellKey = getUrlParameter(window.location.href, "key") if (spellKey) {