tvl-depot/web/tvl/blog/default.nix
Vincent Ambo b570da18d6 fix(web/tvl): sort blog posts by publishing date
... in reverse order (i.e., newer posts listed first)

Change-Id: I126f9943bb53cf220b22e856318246bced90f1ec
Reviewed-on: https://cl.tvl.fyi/c/depot/+/6583
Tested-by: BuildkiteCI
Autosubmit: tazjin <tazjin@tvl.su>
Reviewed-by: sterni <sternenseemann@systemli.org>
2022-09-15 15:12:12 +00:00

27 lines
557 B
Nix

{ depot, ... }:
{
config = {
name = "TVL's blog";
footer = depot.web.tvl.footer { };
baseUrl = "https://tvl.fyi/blog";
};
posts = builtins.sort (a: b: a.date > b.date) [
{
key = "rewriting-nix";
title = "Tvix: We are rewriting Nix";
date = 1638381387;
content = ./rewriting-nix.md;
author = "tazjin";
}
{
key = "tvix-status-september-22";
title = "Tvix Status - September '22";
date = 1662995534;
content = ./tvix-status-202209.md;
author = "tazjin";
}
];
}