diff --git a/_posts/2100-12-30-template.md b/_posts/0000-12-30-template.md similarity index 100% rename from _posts/2100-12-30-template.md rename to _posts/0000-12-30-template.md diff --git a/_posts/2025-01-18-heic-depth.md b/_posts/2025-01-18-heic-depth.md index aeaabd2..d564069 100644 --- a/_posts/2025-01-18-heic-depth.md +++ b/_posts/2025-01-18-heic-depth.md @@ -1,5 +1,5 @@ --- -title: Undexpected Depths +title: Unexpected Depths layout: post excerpt: Did you know iPhone portrait mode HEIC files have a depth map in them? draft: true diff --git a/highlights.md b/highlights.md index 1b59185..9097d4f 100644 --- a/highlights.md +++ b/highlights.md @@ -24,11 +24,16 @@ Welcome to my little home on the web! Below you'll find recent blog posts, proje
-{% for post in site.posts limit:5 %} -{% if post.draft == false or jekyll.environment == "development" %} -{% include post_summary.html %} +{% if jekyll.environment == 'development' %} +{% assign filtered_posts = site.posts %} +{% else %} +{% assign filtered_posts = site.posts | where: "draft", "false" %} {% endif %} + +{% for post in filtered_posts limit:5 %} +{% include post_summary.html %} {% endfor %} +
More