about summary refs log tree commit diff
path: root/web/blog/default.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2020-02-09T00·01+0000
committerVincent Ambo <tazjin@google.com>2020-02-09T00·01+0000
commit39854d71b2afa5e793acb6a76f30b038bf569cca (patch)
tree8dce2bdbbc3dd144b4d501989a5f07803bfe3f93 /web/blog/default.nix
parente6002f95cd3ad5c4ee449e6a51c50f07da26f287 (diff)
refactor(web): Serve static assets to //web/homepage r/490
Shuffles around the nginx locations that are served to ensure that all
static content will be served from tazj.in/static (including for the
blog).
Diffstat (limited to 'web/blog/default.nix')
-rw-r--r--web/blog/default.nix2
1 files changed, 0 insertions, 2 deletions
diff --git a/web/blog/default.nix b/web/blog/default.nix
index 4fa97f2248..73b1bc20e3 100644
--- a/web/blog/default.nix
+++ b/web/blog/default.nix
@@ -34,8 +34,6 @@ let
   rendered = pkgs.third_party.runCommandNoCC "tazjins-blog" {} ''
     mkdir -p $out
 
-    cp ${fragments.blogIndex posts} $out/index.html
-
     ${lib.concatStringsSep "\n" (map (post:
       "cp ${fragments.renderPost post} $out/${post.key}.html"
     ) posts)}