From 73012b83ea575fa6b62bb736a4a7162c9c67147d Mon Sep 17 00:00:00 2001 From: Maxime Moraine Date: Wed, 26 Aug 2020 09:07:22 +0200 Subject: [PATCH] correction chien de garde --- docs/.vuepress/theme/layouts/SpellsLayout.vue | 24 +++++++++++++++++++ docs/grimoire/chien-de-garde/README.md | 2 +- 2 files changed, 25 insertions(+), 1 deletion(-) diff --git a/docs/.vuepress/theme/layouts/SpellsLayout.vue b/docs/.vuepress/theme/layouts/SpellsLayout.vue index 4b1a34f..6ba7069 100644 --- a/docs/.vuepress/theme/layouts/SpellsLayout.vue +++ b/docs/.vuepress/theme/layouts/SpellsLayout.vue @@ -198,6 +198,30 @@ export default { spells() { let results = this.$pagination.pages + // JSON Migration Generation + // console.log(results) + // let json = [] + // for (var spell of results) { + // json.push({ + // 'nom':spell.frontmatter.title, + // 'ecole':spell.frontmatter.school, + // 'niveau':spell.frontmatter.level, + // 'portee':spell.frontmatter.range, + // 'duree':spell.frontmatter.duration, + // 'temps_incantation':spell.frontmatter.casting_time, + // 'composante_v':spell.frontmatter.components.material, + // 'composante_s':spell.frontmatter.components.somatic, + // 'composante_m':spell.frontmatter.components.material, + // 'composante_m_description':spell.frontmatter.components.materials, + // 'concentration':spell.frontmatter.concentration, + // 'rituel':spell.frontmatter.ritual, + // 'description':spell.rawContent, + // 'resume':spell.frontmatter.description, + // 'source':spell.frontmatter.source, + // }) + // } + // console.log(json) + // Filter concetration if (this.mustBeConcentration !== undefined) { results = results.filter(item => { diff --git a/docs/grimoire/chien-de-garde/README.md b/docs/grimoire/chien-de-garde/README.md index a233f9e..09b9496 100644 --- a/docs/grimoire/chien-de-garde/README.md +++ b/docs/grimoire/chien-de-garde/README.md @@ -1,7 +1,7 @@ --- title: "Chien de garde" description: "Chien invisible et immobile qui donne l'alarme et attaque les intrus." -school: "Invoaction" +school: "Invocation" level: 4 concentration: false casting_time: "1 action"