mirror of
https://github.com/safing/web
synced 2025-09-01 18:49:06 +00:00
Move blog posts to _media collection
This commit is contained in:
parent
517ddb27cc
commit
cdbea9a2ce
23 changed files with 9 additions and 4 deletions
|
@ -3,10 +3,12 @@
|
|||
category: blog
|
||||
layout: blog
|
||||
title: Hiring a Designer from the Privacy Community
|
||||
date: 2019-11-29
|
||||
date: 2019-11-30
|
||||
author: David
|
||||
custom_thumbnail_name: hiring-a-designer-from-the-privacy-community
|
||||
cover_image_source: https://unsplash.com/photos/66O6CE7QvwI
|
||||
redirect_from:
|
||||
- /blog/2019/11/29/hiring-a-designer-from-the-privacy-community/
|
||||
---
|
||||
|
||||
_Sidenote: shoutout to [The Hated One](https://www.youtube.com/channel/UCjr2bPAyPV7t35MvcgT3W8Q/), this would not have happened without him!_
|
|
@ -16,7 +16,8 @@ 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">
|
||||
{% for post in site.posts %}
|
||||
{% assign sorted_blogs = site.medias | reverse | where:"category","blog" %}
|
||||
{% for post in sorted_blogs %}
|
||||
{% include thumbnail_blog.html %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
3
feed.xml
3
feed.xml
|
@ -11,7 +11,8 @@ layout: null
|
|||
<pubDate>{{ site.time | date_to_rfc822 }}</pubDate>
|
||||
<lastBuildDate>{{ site.time | date_to_rfc822 }}</lastBuildDate>
|
||||
<generator>Jekyll v{{ jekyll.version }}</generator>
|
||||
{% for post in site.posts limit:10 %}
|
||||
{% assign sorted_blogs = site.medias | reverse | where:"category","blog" %}
|
||||
{% for post in sorted_blogs %}
|
||||
<item>
|
||||
<title>{{ post.title | xml_escape }}</title>
|
||||
<description>{{ post.content | xml_escape }}</description>
|
||||
|
|
|
@ -116,7 +116,8 @@ title: Safing - Love Freedom
|
|||
{% endfor %}
|
||||
|
||||
<!-- blog -->
|
||||
{% for post in site.posts limit: 1 %}
|
||||
{% assign sorted_blogs = site.medias | reverse | where:"category","blog" %}
|
||||
{% for post in sorted_blogs limit: 1 %}
|
||||
{% include thumbnail_blog.html pre_header="BLOG" %}
|
||||
{% endfor %}
|
||||
</ul>
|
||||
|
|
Loading…
Add table
Reference in a new issue