mirror of
https://github.com/safing/web
synced 2025-09-02 11:09:03 +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">
|
<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">
|
<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 -->
|
<!-- podcast -->
|
||||||
{% assign sorted_podcasts = site.podcasts | reverse %}
|
{% assign sorted_podcasts = site.medias | reverse | where:"category","podcast" %}
|
||||||
{% for episode in sorted_podcasts limit: 1 %}
|
{% for episode in sorted_podcasts limit: 1 %}
|
||||||
{% include thumbnail_podcast.html pre_header="PODCAST" %}
|
{% include thumbnail_podcast.html pre_header="PODCAST" %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -44,7 +44,7 @@ layout: null
|
||||||
<itunes:category text="{{ site.podcast_subcategory_two }}" />
|
<itunes:category text="{{ site.podcast_subcategory_two }}" />
|
||||||
</itunes:category>
|
</itunes:category>
|
||||||
|
|
||||||
{% for episode in site.podcasts %}
|
{% for episode in site.medias | where:"category","podcast" %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ episode.title | xml_escape }}</title>
|
<title>{{ episode.title | xml_escape }}</title>
|
||||||
<link>{{ site.url }}{{ episode.url }}</link>
|
<link>{{ site.url }}{{ episode.url }}</link>
|
||||||
|
|
|
@ -24,7 +24,7 @@ layout: page
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-8 md:mt-16 lg:mt-32">
|
<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">
|
<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 %}
|
{% for episode in sorted_podcasts %}
|
||||||
{% include thumbnail_podcast.html %}
|
{% include thumbnail_podcast.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue