I am building two similar pages that need to output some data. One is a .yml file containing links to youtube videos, and the second is the same, but containing local links to songs.
So i made a video page, that contains a for loop with an iframe for the video output, then i simply output the data link in the “src”.
{% assign video_list = site.data.videos.vid %}
{% for vid in video_list %}
<div class="col-md-6">
<div class="p-2 m-1">
<iframe width="100%" height="315" src="{{ vid }}" frameborder="0" allow="accelerometer; autoplay; encrypted-media; gyroscope; picture-in-picture" allowfullscreen></iframe>
</div>
</div>
{% endfor %}
Is there a way to paginate the output data ? Will the paginate-v2 plugin do the job ?