From 351ed4f044753bc4b1f3dcdc83b96a32f7dcaeeb Mon Sep 17 00:00:00 2001 From: Vincent Ambo Date: Fri, 26 Jun 2020 20:28:06 +0100 Subject: fix(tazjin/homepage): Fix configuration settings after page moves My personal pages have moved out of //web, and various changes were necessary to keep everything working. Change-Id: I2f81fdd8ba2ce2ce6fea7e329bbdcda6092cc8a6 Reviewed-on: https://cl.tvl.fyi/c/depot/+/604 Reviewed-by: tazjin --- users/tazjin/homepage/default.nix | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'users/tazjin/homepage') diff --git a/users/tazjin/homepage/default.nix b/users/tazjin/homepage/default.nix index 22380fdea700..9ac3112b0349 100644 --- a/users/tazjin/homepage/default.nix +++ b/users/tazjin/homepage/default.nix @@ -4,7 +4,7 @@ # The website is made up of a simple header&footer and content # elements for things such as blog posts and projects. # -# Content for the blog is in //web/blog instead of here. +# Content for the blog is in //users/tazjin/blog instead of here. { depot, lib, ... }: with depot; @@ -28,7 +28,7 @@ let escape = replaceStrings [ "<" ">" "&" "'" ] [ "<" ">" "&" "'" ]; - postToEntry = defun [ web.blog.post entry ] (post: { + postToEntry = defun [ users.tazjin.blog.post entry ] (post: { class = "blog"; title = post.title; url = "/blog/${post.key}"; @@ -64,7 +64,7 @@ let ++ [ (builtins.readFile ./footer.html) ] )); - homepage = index ((map postToEntry web.blog.posts) ++ (import ./entries.nix)); + homepage = index ((map postToEntry users.tazjin.blog.posts) ++ (import ./entries.nix)); in runCommandNoCC "website" {} '' mkdir $out cp ${homepage} $out/index.html -- cgit 1.4.1