1
0
Fork 0
mirror of https://github.com/em-squared/5e-drs.git synced 2025-10-31 05:24:20 +00:00

WIP bestiaire

This commit is contained in:
Maxime Moraine 2020-04-10 16:37:48 +02:00
parent bde611ae9b
commit 510db9f858
58 changed files with 29311 additions and 365 deletions

View file

@ -4,10 +4,7 @@
<div class="theme-default-content">
<h1>{{ $page.title }}</h1>
<div class="magic-item-details">
<span>{{ $page.frontmatter.type }}</span>
<span v-if="$page.frontmatter.subtype"> ({{ $page.frontmatter.subtype }})</span>
<span>, {{ $page.frontmatter.rarity }}</span>
<span v-if="$page.frontmatter.attunement"> ({{ $page.frontmatter.attunement }})</span>
{{displayItemMeta()}}
</div>
</div>
@ -19,8 +16,14 @@
</template>
<script>
export default {
import {displayItemMeta} from '@theme/util/magicItemHelpers'
export default {
methods : {
displayItemMeta () {
return displayItemMeta(this.$page.frontmatter)
}
}
}
</script>