|
|
@@ -1,6 +1,6 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
2
|
.page--single.f-row.between
|
|
3
|
|
- gallery(:fullscreengallery="fullscreengallery" v-on:close="fullscreengallery = false")
|
|
|
3
|
+ gallery(:fullscreengallery="fullscreengallery" v-on:close="fullscreengallery = false" :images="images")
|
|
4
|
4
|
article.f-grow.shadow
|
|
5
|
5
|
header
|
|
6
|
6
|
h1 {{ type }}:{{ $route.params.slug }} single
|
|
|
@@ -61,6 +61,11 @@ export default {
|
|
61
|
61
|
return postsMap
|
|
62
|
62
|
}, {})
|
|
63
|
63
|
},
|
|
|
64
|
+ images () {
|
|
|
65
|
+ console.log(this.posts[this.$route.params.slug])
|
|
|
66
|
+ return ['hi', 'hello']
|
|
|
67
|
+ },
|
|
|
68
|
+
|
|
64
|
69
|
},
|
|
65
|
70
|
mounted() {
|
|
66
|
71
|
// TODO: this should be conditional after checking vuex state
|