Commit 0d8bd3fd authored by Stephan Plöhn's avatar Stephan Plöhn

[Layout] Disabled scrollspy repeat

parent cf9fb105
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
<div v-html="post.text"></div> <div v-html="post.text"></div>
<div v-if="post.images" class="[email protected] uk-margin-bottom" data-uk-grid uk-lightbox="animation: scale" <div v-if="post.images" class="[email protected] uk-margin-bottom" data-uk-grid uk-lightbox="animation: scale"
data-uk-scrollspy="cls: uk-animation-slide-bottom-small; target: .post_gallery__item; delay: 300; repeat: true"> data-uk-scrollspy="cls: uk-animation-slide-bottom-small; target: .post_gallery__item; delay: 300">
<a v-for="image in post.images" v-bind:key="image.id" :href="image.directus_files_id.data.thumbnails[7].url" <a v-for="image in post.images" v-bind:key="image.id" :href="image.directus_files_id.data.thumbnails[7].url"
:title="image.directus_files_id.title" :data-caption="image.directus_files_id.title" data-type="image" :title="image.directus_files_id.title" :data-caption="image.directus_files_id.title" data-type="image"
class="post_gallery__item"> class="post_gallery__item">
......
...@@ -3,7 +3,7 @@ ...@@ -3,7 +3,7 @@
<h1>{{ title }}</h1> <h1>{{ title }}</h1>
<div class="posts" <div class="posts"
data-uk-scrollspy="cls: uk-animation-slide-bottom-small; target: .posts-article; delay: 300; repeat: true"> data-uk-scrollspy="cls: uk-animation-slide-bottom-small; target: .posts-article; delay: 300">
<article v-for="post in posts" v-bind:key="post.slug" class="posts-article" data-uk-grid> <article v-for="post in posts" v-bind:key="post.slug" class="posts-article" data-uk-grid>
<div class="posts-article_image [email protected]"> <div class="posts-article_image [email protected]">
<nuxt-link v-if="post.image" :to="{ path: 'posts/' + post.slug }" :aria-label="'Beitragsbild ' + post.title"> <nuxt-link v-if="post.image" :to="{ path: 'posts/' + post.slug }" :aria-label="'Beitragsbild ' + post.title">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment