about summary refs log tree commit diff
path: root/web
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-09-15T14·52+0300
committerclbot <clbot@tvl.fyi>2022-09-15T15·12+0000
commitb570da18d651df8a513a921fd4deb6474bb72d45 (patch)
tree43639dc3c4d786138edc7dc03092eebbbe34f2c5 /web
parentda1d71a4e8e3afee09d8f72b79b6042d4ccbfc2d (diff)
fix(web/tvl): sort blog posts by publishing date r/4858
... 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>
Diffstat (limited to 'web')
-rw-r--r--web/tvl/blog/default.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/web/tvl/blog/default.nix b/web/tvl/blog/default.nix
index 2741544b9416..4aac1b73147d 100644
--- a/web/tvl/blog/default.nix
+++ b/web/tvl/blog/default.nix
@@ -7,7 +7,7 @@
     baseUrl = "https://tvl.fyi/blog";
   };
 
-  posts = [
+  posts = builtins.sort (a: b: a.date > b.date) [
     {
       key = "rewriting-nix";
       title = "Tvix: We are rewriting Nix";