mirror of
https://github.com/safing/web
synced 2025-09-01 10:39:03 +00:00
Rename medias to publications
makes more sense as a name
This commit is contained in:
parent
9cae6702c9
commit
1c07bfb54a
62 changed files with 9 additions and 9 deletions
|
@ -86,16 +86,16 @@ emailobfuscated: "=b!isfg>#nbjmup;ifmmpAtbgjoh/jp#?ifmmpAtbgjoh/jp=0b?"
|
||||||
###################################
|
###################################
|
||||||
|
|
||||||
collections:
|
collections:
|
||||||
medias:
|
publications:
|
||||||
output: true
|
output: true
|
||||||
|
|
||||||
defaults:
|
defaults:
|
||||||
- scope:
|
- scope:
|
||||||
path: ""
|
path: ""
|
||||||
type: "medias"
|
type: "publications"
|
||||||
values:
|
values:
|
||||||
permalink: /:categories/:year/:month/:day/:title/
|
permalink: /:categories/:year/:month/:day/:title/
|
||||||
type: "media"
|
type: "publication"
|
||||||
|
|
||||||
##############################
|
##############################
|
||||||
###### Podcast settings ######
|
###### Podcast settings ######
|
||||||
|
|
|
@ -16,7 +16,7 @@ layout: page
|
||||||
</div>
|
</div>
|
||||||
<div class="mt-8 md:mt-32">
|
<div class="mt-8 md: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_blogs = site.medias | reverse | where:"category","blog" %}
|
{% assign sorted_blogs = site.publications | reverse | where:"category","blog" %}
|
||||||
{% for post in sorted_blogs %}
|
{% for post in sorted_blogs %}
|
||||||
{% include thumbnail_blog.html %}
|
{% include thumbnail_blog.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
2
feed.xml
2
feed.xml
|
@ -11,7 +11,7 @@ layout: null
|
||||||
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
||||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||||
<generator>Jekyll v{{ jekyll.version }}</generator>
|
<generator>Jekyll v{{ jekyll.version }}</generator>
|
||||||
{% assign sorted_blogs = site.medias | reverse | where:"category","blog" %}
|
{% assign sorted_blogs = site.publications | reverse | where:"category","blog" %}
|
||||||
{% for post in sorted_blogs %}
|
{% for post in sorted_blogs %}
|
||||||
<item>
|
<item>
|
||||||
<title>{{ post.title | xml_escape }}</title>
|
<title>{{ post.title | xml_escape }}</title>
|
||||||
|
|
|
@ -103,7 +103,7 @@ title: Safing - Love Freedom
|
||||||
</div>
|
</div>
|
||||||
<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">
|
||||||
{% assign all_publications = site.medias | sort: "date" | reverse %}
|
{% assign all_publications = site.publications | sort: "date" | reverse %}
|
||||||
|
|
||||||
{% for publication in all_publications limit: 6 %}
|
{% for publication in all_publications limit: 6 %}
|
||||||
{% if publication.category == "blog" %}
|
{% if publication.category == "blog" %}
|
||||||
|
|
|
@ -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.medias | where:"category","podcast" %}
|
{% for episode in site.publications | 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.medias | reverse | where:"category","podcast" %}
|
{% assign sorted_podcasts = site.publications | reverse | where:"category","podcast" %}
|
||||||
{% for episode in sorted_podcasts %}
|
{% for episode in sorted_podcasts %}
|
||||||
{% include thumbnail_podcast.html %}
|
{% include thumbnail_podcast.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -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_videos = site.medias | reverse | where:"category","video" %}
|
{% assign sorted_videos = site.publications | reverse | where:"category","video" %}
|
||||||
{% for video in sorted_videos %}
|
{% for video in sorted_videos %}
|
||||||
{% include thumbnail_video.html %}
|
{% include thumbnail_video.html %}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
Loading…
Add table
Reference in a new issue