diff --git a/src-front/components/posts/Posts.vue b/src-front/components/posts/Posts.vue index 3ee69b29f51be5bdacf3e24c2eae8411ad039888..8fa726a51135b53e2168ad59881e7949f9df4ad6 100644 --- a/src-front/components/posts/Posts.vue +++ b/src-front/components/posts/Posts.vue @@ -6,7 +6,7 @@ <masonry :cols="{default: 2, 1020: 1}" :gutter="16" :columnClass="['masonrycolumn']"> <div v-for="(post, index) in posts.items" :key="post.index"> - <PostsItem :post="post" class="posts__items-item" /> + <PostsItem :post="post" class="posts__items-item" /> <Newsletter v-if="(index + 1) % 160 == 0 || (index + 1) == 80" /> <!--- <div v-for="(post, index) in posts.items" :key="post.index"> @@ -17,7 +17,7 @@ ---> </div> - </masonry> + </masonry> <div v-if="posts.items == 0" class="posts__items-empty"> Nebyl nalezen žádný výsledek. @@ -26,7 +26,7 @@ <div class="posts__more"> <Button @click.native="handlePostsShowMore" v-if="limit < posts.total" arrow="down" size="large" center>Starší články</Button> </div> - + </div> </section> @@ -56,8 +56,10 @@ export default { return { title: this.posts.items[0].title, meta: [ - { hid: 'og:title', property: 'og:title', content: this.posts.items[0].title }, - { hid: 'og:image', property: 'og:image', content: this.posts.items[0].thumbnail }, +// Kokotina. Ale facebook evidentne nebere og z podstranek, jen z uvodni + { hid: 'og:title', property: 'og:title', content: 'Nejdůležitější výsledky Pirátů za první rok ve vládě' }, +// { hid: 'og:title', property: 'og:title', content: this.posts.items[0].title }, +// { hid: 'og:image', property: 'og:image', content: this.posts.items[0].thumbnail }, { hid: 'og:url', property: 'og:url', content: baseUrl }, ], };