diff --git a/docs/.vuepress/theme/layouts/MagicItemsLayout.vue b/docs/.vuepress/theme/layouts/MagicItemsLayout.vue index e8fd9c7..fb0e791 100644 --- a/docs/.vuepress/theme/layouts/MagicItemsLayout.vue +++ b/docs/.vuepress/theme/layouts/MagicItemsLayout.vue @@ -193,6 +193,23 @@ export default { }) } + // let json = [] + // for (var magicItem of results) { + // let mi = {} + // mi.name = magicItem.frontmatter.title + // mi.attunement = magicItem.frontmatter.attunement + // mi.rarity = magicItem.frontmatter.rarity + // mi.type = magicItem.frontmatter.type + // mi.subtype = magicItem.frontmatter.subtype + // mi.source = magicItem.frontmatter.source + // mi.content = magicItem.rawContent + // json.push(mi) + // } + // + // console.log(json) + + // console.log(results) + return results } }, diff --git a/docs/.vuepress/theme/layouts/MonstersLayout.vue b/docs/.vuepress/theme/layouts/MonstersLayout.vue index 8a7123b..1ff1406 100644 --- a/docs/.vuepress/theme/layouts/MonstersLayout.vue +++ b/docs/.vuepress/theme/layouts/MonstersLayout.vue @@ -152,7 +152,19 @@