about summary refs log tree commit diff
path: root/ops/modules/www/tvl.fyi.nix
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2022-01-29T22·35+0300
committerclbot <clbot@tvl.fyi>2022-01-29T22·37+0000
commitdddeb0467996c3b8d0df184bd3d26847520b3e23 (patch)
tree197f7c7ab1a2c383993ba7214b8a1c4072340ce1 /ops/modules/www/tvl.fyi.nix
parentbe91bc97a9f82d7e9d4e09a1b3bf7961b8a3c45e (diff)
fix(www/tvl.fyi): Anchor /blog redirects at #blog r/3713
Since our blog index is on the index page, this makes slightly more
sense.

Change-Id: I7b8164490c133e23d892abef21275f8bfed50b66
Reviewed-on: https://cl.tvl.fyi/c/depot/+/5123
Autosubmit: tazjin <tazjin@tvl.su>
Tested-by: BuildkiteCI
Reviewed-by: lukegb <lukegb@tvl.fyi>
Diffstat (limited to 'ops/modules/www/tvl.fyi.nix')
-rw-r--r--ops/modules/www/tvl.fyi.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/modules/www/tvl.fyi.nix b/ops/modules/www/tvl.fyi.nix
index 902c81b72072..59ee1bc27f1a 100644
--- a/ops/modules/www/tvl.fyi.nix
+++ b/ops/modules/www/tvl.fyi.nix
@@ -35,11 +35,11 @@
         }
 
         location = /blog {
-          return 302 /;
+          return 302 /#blog;
         }
 
         location = /blog/ {
-          return 302 /;
+          return 302 /#blog;
         }
       '';
     };