mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-10-30 21:24:18 +00:00
ajout du bestiaire
This commit is contained in:
parent
637b99110c
commit
dc30394196
380 changed files with 18521 additions and 635 deletions
24
docs/.vuepress/theme/components/Edit.vue
Normal file
24
docs/.vuepress/theme/components/Edit.vue
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
<template>
|
||||
<div class="">
|
||||
<v-divider class="my-4"/>
|
||||
<v-btn v-if="reposity && !$page.frontmatter.notEditable" link depressed :href="source" target="_blank" color="accent" outlined><v-icon left>mdi-pencil</v-icon> Modifier</v-btn>
|
||||
</div>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
export default {
|
||||
name: 'Edit',
|
||||
|
||||
computed: {
|
||||
reposity () {
|
||||
return this.$site.themeConfig.repository
|
||||
},
|
||||
source () {
|
||||
return this.reposity + '/tree/master/docs' + this.$route.path + 'README.md'
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss">
|
||||
</style>
|
||||
Loading…
Add table
Add a link
Reference in a new issue