diff --git a/components/BlogList.js b/components/BlogList.js
index 1400f44..c5fe8eb 100644
--- a/components/BlogList.js
+++ b/components/BlogList.js
@@ -11,12 +11,14 @@ function truncateSummary(content) {
}
const BlogList = ({ posts }) => {
+ console.log(posts);
return (
<>
{posts.length > 1 &&
posts
- .filter((post) => !post.frontmatter.draft)
+ // Filter drafts
+ .filter((post) => !post.slug.startsWith("_"))
// Ternary operator is used to fix chromium sorting
// See: https://stackoverflow.com/a/36507611
.sort((a, b) => (a.frontmatter.date < b.frontmatter.date ? 1 : -1))
diff --git a/content/posts/2021-01-07-delete-facebook.md b/content/posts/2021-01-07-delete-facebook.md
index ff3c0d7..28f9ab4 100644
--- a/content/posts/2021-01-07-delete-facebook.md
+++ b/content/posts/2021-01-07-delete-facebook.md
@@ -1,7 +1,6 @@
---
title: I closed my Facebook account, and you should too
date: "2021-01-07"
-draft: false
---
I know I should have done this a while ago, but with ever-increasing scandals about data privacy surrounding Facebook, I finally decided to get rid of it.
diff --git a/content/posts/2021-01-11-100daystooffload.md b/content/posts/2021-01-11-100daystooffload.md
index 5b55632..27f803f 100644
--- a/content/posts/2021-01-11-100daystooffload.md
+++ b/content/posts/2021-01-11-100daystooffload.md
@@ -1,7 +1,6 @@
---
title: 100DaysToOffload
date: "2021-01-11"
-draft: false
---
For some time now, I've seen this #100DaysToOffload hashtag on my social medias. I knew that it was some kind of writing challenge, but I never thought about taking part in it. Since I recently started to blog more frequently though, I think this challenge could be very beneficial to my writing skills, and just jotting my thoughts down in general. So, starting with this entry, I will try to publish 100 (hopefully) useful posts on this blog within one year. My "deadline" for this will be January 11, 2022. I will post every entry to [my mastodon account](https://fosstodon.org/@garritfra).
diff --git a/content/posts/2021-01-11-are-humans-still-evolving.md b/content/posts/2021-01-11-are-humans-still-evolving.md
index 31b08de..9f21429 100644
--- a/content/posts/2021-01-11-are-humans-still-evolving.md
+++ b/content/posts/2021-01-11-are-humans-still-evolving.md
@@ -1,7 +1,6 @@
---
title: Are humans still evolving?
date: "2021-01-11"
-draft: false
---
This is by no means a scientifically accurate article. These are my thoughts, and I'd be happy to discuss this topic. Take it with a grain of salt.
diff --git a/content/posts/2021-01-13-512kb-club.md b/content/posts/2021-01-13-512kb-club.md
index ef717dc..e065417 100644
--- a/content/posts/2021-01-13-512kb-club.md
+++ b/content/posts/2021-01-13-512kb-club.md
@@ -1,7 +1,6 @@
---
title: I joined the 512KB club
date: "2021-01-13"
-draft: false
---
JavaScript rules the web, literally. In fact, this website is built with JavaScript (Next.js). I recently started to think about if I really needed this much overhead for a simple site like this. After all, I don't have any fancy user interaction features or complex animation that would justify the JavaScript on this page.
diff --git a/content/posts/2021-01-15-compiling-your-own-kernel.md b/content/posts/2021-01-15-compiling-your-own-kernel.md
index 54440c7..4e3c97d 100644
--- a/content/posts/2021-01-15-compiling-your-own-kernel.md
+++ b/content/posts/2021-01-15-compiling-your-own-kernel.md
@@ -1,7 +1,6 @@
---
title: Compiling your own kernel
date: "2021-01-15"
-draft: false
---
I'm currently in the midst of fiddling around with the kernel a bit, and I figured I just documented my process a bit. Unfortunately, since I'm using a Mac for day to day work, I have to rely on a virtual machine to run anything Linux-related. VirtualBox doesn't support the most recent kernels (5.9 is the most recent supported one), so there won't be any cutting-edge development happening here. I decided to use ubuntu as my guest system, since it's very easy to set up.
diff --git a/content/posts/2021-01-18-reasons-the-fediverse-is-better.md b/content/posts/2021-01-18-reasons-the-fediverse-is-better.md
index d94ab99..1a7f4c0 100644
--- a/content/posts/2021-01-18-reasons-the-fediverse-is-better.md
+++ b/content/posts/2021-01-18-reasons-the-fediverse-is-better.md
@@ -1,7 +1,6 @@
---
title: 6 reasons the Fediverse is better than regular social media
date: "2021-01-18"
-draft: false
---
Social media sucks. Platforms like Twitter, Facebook and Instagram are designed to turn your precious free time into money. What we see as a nice way to stay in touch with our friends, in reality are just many hits of dopamine stimulating precise spots in your brain, leading to you spending more time on the platform consuming ads.
diff --git a/content/posts/2021-01-23-signal-to-noise.md b/content/posts/2021-01-23-signal-to-noise.md
index 4e83625..25f14ce 100644
--- a/content/posts/2021-01-23-signal-to-noise.md
+++ b/content/posts/2021-01-23-signal-to-noise.md
@@ -1,7 +1,6 @@
---
title: Signal-to-Noise, or why nobody cares about your GitHub project
date: "2021-01-23"
-draft: false
---
For a very long time, the thought of leaving GitHub and moving to another platform daunted me. Having more users on one platforms means that more people will contribute to my project, right? Wrong.
diff --git a/content/posts/2021-01-14-diy-software.md b/content/posts/_2021-01-14-diy-software.md
similarity index 96%
rename from content/posts/2021-01-14-diy-software.md
rename to content/posts/_2021-01-14-diy-software.md
index c082eee..01e67fa 100644
--- a/content/posts/2021-01-14-diy-software.md
+++ b/content/posts/_2021-01-14-diy-software.md
@@ -1,7 +1,6 @@
---
title: DIY Software
date: "2021-01-14"
-draft: true
---
We often take free software as granted. We think of many programs are a "black box" that are supposed to _just work_. I think, this goes against the very nature of free and open source software.
diff --git a/content/posts/2021-01-22-library-of-babel.md b/content/posts/_2021-01-22-library-of-babel.md
similarity index 97%
rename from content/posts/2021-01-22-library-of-babel.md
rename to content/posts/_2021-01-22-library-of-babel.md
index f436a92..17b3812 100644
--- a/content/posts/2021-01-22-library-of-babel.md
+++ b/content/posts/_2021-01-22-library-of-babel.md
@@ -1,7 +1,6 @@
---
title: The library of babel
date: "2021-01-22"
-draft: true
---
What if I told you that everything you ever have said, thought and wrote, and everything you will say, think or write, has already been written down? Let me share my discovery of a construct called the _library of babel_.
diff --git a/content/posts/2021-01-25-kotlin-refactor-strategies.md b/content/posts/_2021-01-25-kotlin-refactor-strategies.md
similarity index 99%
rename from content/posts/2021-01-25-kotlin-refactor-strategies.md
rename to content/posts/_2021-01-25-kotlin-refactor-strategies.md
index 9aac4a5..ff8d978 100644
--- a/content/posts/2021-01-25-kotlin-refactor-strategies.md
+++ b/content/posts/_2021-01-25-kotlin-refactor-strategies.md
@@ -1,7 +1,6 @@
---
title: Fixing nullability issues when migrating to Kotlin
date: "2021-01-23"
-draft: true
---
The last couple of days, I had the opportunity to refactor some of the Kotlin code in our massive android project. The app is quite old, and a lot of legacy code has accumulated over the years. At one point, we decided to migrate a lot of our view-logic from Java to Kotlin. Instead of cleaning the code up, this lead to an even bigger buildup of technical debt. The problem was that we mainly used the migration-tools that Android Studio provides, which, at that time where not very sophisticated. Sometimes we had to manually fix some things which, since it is such a massive codebase, we didn't really take the time to clean every converted file up.