From ff882ce4cdad850977004bdcf9199e8a4ad779d5 Mon Sep 17 00:00:00 2001
From: Mitja Felicijan
Date: Sun, 11 Feb 2024 22:52:06 +0100
Subject: Added exclusion of draft posts from list
---
index.html | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
(limited to 'index.html')
diff --git a/index.html b/index.html
index 08bb037..adef4d3 100644
--- a/index.html
+++ b/index.html
@@ -15,7 +15,7 @@ until it surrenders its mysteries to you.
{% for post in site.posts %}
- {% if post.type == "post" %}
+ {% if post.type == "post" and post.draft == false %}
-
{{ post.title }}
@@ -27,7 +27,7 @@ until it surrenders its mysteries to you.
{% for post in site.posts %}
- {% if post.type == "note" %}
+ {% if post.type == "note" and post.draft == false %}
-
{{ post.title }}
--
cgit v1.2.3