mirror of
https://github.com/safing/web
synced 2025-09-02 19:19:03 +00:00
Move videos to _medias collection
This commit is contained in:
parent
79103b7428
commit
517ddb27cc
9 changed files with 2 additions and 2 deletions
|
@ -110,7 +110,7 @@ title: Safing - Love Freedom
|
|||
{% endfor %}
|
||||
|
||||
<!-- video -->
|
||||
{% assign sorted_videos = site.videos | reverse %}
|
||||
{% assign sorted_videos = site.medias | reverse | where:"category","video" %}
|
||||
{% for video in sorted_videos limit: 1 %}
|
||||
{% include thumbnail_video.html pre_header="VIDEO" %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -24,7 +24,7 @@ layout: page
|
|||
</div>
|
||||
<div class="mt-8 md:mt-16 lg:mt-32">
|
||||
<ul class="md:grid md:grid-cols-2 lg:grid-cols-3 md:col-gap-8 md:row-gap-10">
|
||||
{% assign sorted_videos = site.videos | reverse %}
|
||||
{% assign sorted_videos = site.medias | reverse | where:"category","video" %}
|
||||
{% for video in sorted_videos %}
|
||||
{% include thumbnail_video.html %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue