diff options
Diffstat (limited to 'users/tazjin/blog')
-rw-r--r-- | users/tazjin/blog/default.nix | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/users/tazjin/blog/default.nix b/users/tazjin/blog/default.nix index c65b5cb50bf0..6ac89e46656a 100644 --- a/users/tazjin/blog/default.nix +++ b/users/tazjin/blog/default.nix @@ -5,8 +5,9 @@ with depot.nix.yants; let inherit (builtins) hasAttr filter; - blogConfig = { + config = { name = "tazjin's blog"; + baseUrl = "https://tazj.in/blog"; footer = '' <p class="footer"> @@ -26,12 +27,12 @@ let mkdir -p $out ${lib.concatStringsSep "\n" (map (post: - "cp ${renderPost blogConfig post} $out/${post.key}.html" + "cp ${renderPost config post} $out/${post.key}.html" ) posts)} ''; in { - inherit posts rendered; + inherit posts rendered config; # Generate embeddable nginx configuration for redirects from old post URLs oldRedirects = lib.concatStringsSep "\n" (map (post: '' |