|
|
@@ -34,10 +34,13 @@
|
|
34
|
34
|
//- end of article icon
|
|
35
|
35
|
footer.f-col
|
|
36
|
36
|
img(src="../star.svg")
|
|
|
37
|
+
|
|
|
38
|
+ sidebar(v-if="sidebar" :type="`${type}`" layout="single" :related="p2pPostsByType")
|
|
37
|
39
|
</template>
|
|
38
|
40
|
|
|
39
|
41
|
<script>
|
|
40
|
42
|
import card from '@/components/card.vue'
|
|
|
43
|
+import sidebar from '@/components/sidebars/sidebar'
|
|
41
|
44
|
import gallery from '@/components/gallery/'
|
|
42
|
45
|
import credits from '@/components/credits'
|
|
43
|
46
|
import breadcrumb from '@/components/breadcrumb'
|
|
|
@@ -49,8 +52,9 @@ import { convertTitleCase, dePluralize, typeFromRoute } from '@/utils/helpers'
|
|
49
|
52
|
const TIMEOUT = 1
|
|
50
|
53
|
|
|
51
|
54
|
export default {
|
|
52
|
|
- components: { gallery, credits, card, breadcrumb },
|
|
|
55
|
+ components: { sidebar, gallery, credits, card, breadcrumb },
|
|
53
|
56
|
props: {
|
|
|
57
|
+ sidebar: { type: Boolean },
|
|
54
|
58
|
id: { type: Number },
|
|
55
|
59
|
},
|
|
56
|
60
|
mixins: [postTypeGetters, scrollTop],
|