mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +00:00
Move podcasts to _media collection
This commit is contained in:
parent
71070e03f4
commit
79103b7428
31 changed files with 3 additions and 3 deletions
|
@ -104,7 +104,7 @@ title: Safing - Love Freedom
|
|||
<div class="mt-8 lg:mt-32">
|
||||
<ul class="md:grid md:grid-cols-2 lg:grid-cols-3 md:col-gap-8 md:row-gap-10 max-w-sm mx-auto md:max-w-full">
|
||||
<!-- podcast -->
|
||||
{% assign sorted_podcasts = site.podcasts | reverse %}
|
||||
{% assign sorted_podcasts = site.medias | reverse | where:"category","podcast" %}
|
||||
{% for episode in sorted_podcasts limit: 1 %}
|
||||
{% include thumbnail_podcast.html pre_header="PODCAST" %}
|
||||
{% endfor %}
|
||||
|
|
|
@ -44,7 +44,7 @@ layout: null
|
|||
<itunes:category text="{{ site.podcast_subcategory_two }}" />
|
||||
</itunes:category>
|
||||
|
||||
{% for episode in site.podcasts %}
|
||||
{% for episode in site.medias | where:"category","podcast" %}
|
||||
<item>
|
||||
<title>{{ episode.title | xml_escape }}</title>
|
||||
<link>{{ site.url }}{{ episode.url }}</link>
|
||||
|
|
|
@ -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_podcasts = site.podcasts | reverse %}
|
||||
{% assign sorted_podcasts = site.medias | reverse | where:"category","podcast" %}
|
||||
{% for episode in sorted_podcasts %}
|
||||
{% include thumbnail_podcast.html %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue