refactor(web): Serve static assets to //web/homepage

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).
This commit is contained in:
Vincent Ambo 2020-02-09 00:01:07 +00:00
parent e6002f95cd
commit 39854d71b2
3 changed files with 10 additions and 28 deletions

View file

@ -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)}