1 | <template>
|
2 | <main class="page">
|
3 | <slot name="top" />
|
4 |
|
5 | <Content class="theme-default-content" />
|
6 | <PageEdit />
|
7 |
|
8 | <PageNav v-bind="{ sidebarItems }" />
|
9 |
|
10 | <slot name="bottom" />
|
11 | </main>
|
12 | </template>
|
13 |
|
14 | <script>
|
15 | import PageEdit from '@theme/components/PageEdit.vue'
|
16 | import PageNav from '@theme/components/PageNav.vue'
|
17 |
|
18 | export default {
|
19 | components: { PageEdit, PageNav },
|
20 | props: ['sidebarItems']
|
21 | }
|
22 | </script>
|
23 |
|
24 | <style lang="stylus">
|
25 | @require '../styles/wrapper.styl'
|
26 |
|
27 | .page
|
28 | padding-bottom 2rem
|
29 | display block
|
30 |
|
31 | </style>
|