mirror of
https://github.com/safing/web
synced 2025-04-23 12:29:09 +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
_medias
2020-03-27-an-update-from-look.md2020-04-09-the-portmaster-is-in-pre-alpha.md2020-04-24-the-portmaster-is-in-pre-alpha.md2020-05-08-the-account-server-is-up-and-running.md2020-05-22-a-fresh-new-look.md2020-07-10-default-dns-changes-and-no-more-deadlines.md2020-08-14-spn-closed-pre-alpha-and-next-page.md
index.htmlvideo
|
@ -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