about summary refs log tree commit diff
path: root/users
diff options
context:
space:
mode:
Diffstat (limited to 'users')
-rw-r--r--users/tazjin/blog/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/users/tazjin/blog/default.nix b/users/tazjin/blog/default.nix
index 4f1ddc5ea5ed..85e9d29b3aae 100644
--- a/users/tazjin/blog/default.nix
+++ b/users/tazjin/blog/default.nix
@@ -21,7 +21,7 @@ let
 
   inherit (depot.web.blog) post includePost renderPost;
 
-  posts = filter includePost (list post (import ./posts.nix));
+  posts = list post (import ./posts.nix);
 
   rendered = pkgs.runCommand "tazjins-blog" { } ''
     mkdir -p $out
@@ -33,7 +33,10 @@ let
 
 in
 {
-  inherit posts rendered config;
+  inherit rendered config;
+
+  # Filter unlisted posts from the index
+  posts = filter includePost posts;
 
   # Generate embeddable nginx configuration for redirects from old post URLs
   oldRedirects = lib.concatStringsSep "\n" (map