|
|
@@ -14,13 +14,14 @@
|
|
14
|
14
|
//- ?: are objects are always gallery blocks
|
|
15
|
15
|
.gallery.block(v-if="typeof block === 'object'" :class="`gallery-${i}`")
|
|
16
|
16
|
p gallery number: {{ i }}
|
|
17
|
|
- p ids: {{ post.galleries[block.gallery].innerHTML }}
|
|
18
|
|
- ul.t-cntr(v-if="post.galleries[block.gallery]")
|
|
19
|
|
- li(v-for="(imageID, j) in getImageIdsForGallery(block.gallery)" :class="`gallery-${i}--image-${j+1}`" :key="`block-${i}-${j}`")
|
|
20
|
|
- img(@click="openGallery(i - 1, imageID)" :src="post.attached[imageID]['thumbnail']")
|
|
21
|
|
- //- TO DO Caption stuff and full screen Title/Description
|
|
22
|
|
- p Caption goes here<br>
|
|
23
|
|
- button(@click="openGallery(i - 1, imageID)") gallery: {{ i }} image: {{ imageID }}
|
|
|
17
|
+ //- p ids: {{ post.galleries[block.gallery].innerHTML }}
|
|
|
18
|
+ .test(v-html="post.galleries[block.gallery].innerHTML")
|
|
|
19
|
+ //- ul.t-cntr(v-if="post.galleries[block.gallery]")
|
|
|
20
|
+ //- li(v-for="(imageID, j) in getImageIdsForGallery(block.gallery)" :class="`gallery-${i}--image-${j+1}`" :key="`block-${i}-${j}`")
|
|
|
21
|
+ //- img(@click="openGallery(i - 1, imageID)" :src="post.attached[imageID]['thumbnail']")
|
|
|
22
|
+ //- //- TO DO Caption stuff and full screen Title/Description
|
|
|
23
|
+ //- p Caption goes here<br>
|
|
|
24
|
+ //- button(@click="openGallery(i - 1, imageID)") gallery: {{ i }} image: {{ imageID }}
|
|
24
|
25
|
br
|
|
25
|
26
|
//- Fullscreen gallery component for every gallery block
|
|
26
|
27
|
gallery(
|