|
|
@@ -1,13 +1,13 @@
|
|
1
|
1
|
<template lang="pug">
|
|
2
|
2
|
.page--single.f-row.between
|
|
|
3
|
+ gallery(:fullscreengallery="fullscreengallery" v-on:close="fullscreengallery = false")
|
|
3
|
4
|
article.f-grow.shadow
|
|
4
|
5
|
header
|
|
5
|
6
|
h1 {{ type }}:{{ $route.params.slug }} single
|
|
6
|
|
- button(@click="fullscreengallery=false") fullscreen
|
|
|
7
|
+ button(@click="fullscreengallery = true") fullscreen
|
|
7
|
8
|
section
|
|
8
|
9
|
h4 {{ posts[$route.params.slug].title }}
|
|
9
|
10
|
.block-wrapper(v-for="block in posts[$route.params.slug].blocks" v-html="block")
|
|
10
|
|
- stupidgallery(:fullscreengallery="fullscreengallery" :fullscreengalleryclose="fullscreengallery = false")
|
|
11
|
11
|
sidebar(v-if="sidebar" :type="`${type}`")
|
|
12
|
12
|
.shadow
|
|
13
|
13
|
h1.t-up single slot
|
|
|
@@ -28,16 +28,11 @@ export default {
|
|
28
|
28
|
},
|
|
29
|
29
|
components: {
|
|
30
|
30
|
sidebar: sidebar,
|
|
31
|
|
- stupidgallery: gallery,
|
|
|
31
|
+ gallery: gallery
|
|
32
|
32
|
},
|
|
33
|
33
|
data() {
|
|
34
|
34
|
return {
|
|
35
|
|
- fullscreengallery: true
|
|
36
|
|
- }
|
|
37
|
|
- },
|
|
38
|
|
- methods: {
|
|
39
|
|
- showGallery() {
|
|
40
|
|
- console.log('testingshowGallery')
|
|
|
35
|
+ fullscreengallery: false
|
|
41
|
36
|
}
|
|
42
|
37
|
},
|
|
43
|
38
|
computed: {
|