mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +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:
|
||||
medias:
|
||||
publications:
|
||||
output: true
|
||||
|
||||
defaults:
|
||||
- scope:
|
||||
path: ""
|
||||
type: "medias"
|
||||
type: "publications"
|
||||
values:
|
||||
permalink: /:categories/:year/:month/:day/:title/
|
||||
type: "media"
|
||||
type: "publication"
|
||||
|
||||
##############################
|
||||
###### Podcast settings ######
|
||||
|
|
|
@ -16,7 +16,7 @@ layout: page
|
|||
</div>
|
||||
<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">
|
||||
{% assign sorted_blogs = site.medias | reverse | where:"category","blog" %}
|
||||
{% assign sorted_blogs = site.publications | reverse | where:"category","blog" %}
|
||||
{% for post in sorted_blogs %}
|
||||
{% include thumbnail_blog.html %}
|
||||
{% endfor %}
|
||||
|
|
2
feed.xml
2
feed.xml
|
@ -11,7 +11,7 @@ layout: null
|
|||
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||
<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 %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
|
|
|
@ -103,7 +103,7 @@ title: Safing - Love Freedom
|
|||
</div>
|
||||
<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">
|
||||
{% assign all_publications = site.medias | sort: "date" | reverse %}
|
||||
{% assign all_publications = site.publications | sort: "date" | reverse %}
|
||||
|
||||
{% for publication in all_publications limit: 6 %}
|
||||
{% if publication.category == "blog" %}
|
||||
|
|
|
@ -44,7 +44,7 @@ layout: null
|
|||
<itunes:category text="{{ site.podcast_subcategory_two }}" />
|
||||
</itunes:category>
|
||||
|
||||
{% for episode in site.medias | where:"category","podcast" %}
|
||||
{% for episode in site.publications | 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.medias | reverse | where:"category","podcast" %}
|
||||
{% assign sorted_podcasts = site.publications | reverse | where:"category","podcast" %}
|
||||
{% for episode in sorted_podcasts %}
|
||||
{% include thumbnail_podcast.html %}
|
||||
{% 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.medias | reverse | where:"category","video" %}
|
||||
{% assign sorted_videos = site.publications | reverse | where:"category","video" %}
|
||||
{% for video in sorted_videos %}
|
||||
{% include thumbnail_video.html %}
|
||||
{% endfor %}
|
||||
|
|
Loading…
Add table
Reference in a new issue