about summary refs log tree commit diff homepage
path: root/build
diff options
context:
space:
mode:
authorNguyễn Gia Phong <cnx@loang.net>2024-10-10 16:00:32 +0900
committerNguyễn Gia Phong <cnx@loang.net>2024-10-10 16:00:32 +0900
commit04775ce93d638c2aa81a853b52c55166aed9ec37 (patch)
tree7b96903dce62ce153366b4fd7aa02827ee5f104e /build
parent0fc40fefaade3261aa0739e90250d9c7e1225a8c (diff)
downloadsite-04775ce93d638c2aa81a853b52c55166aed9ec37.tar.gz
Fix fediring indexing
Diffstat (limited to 'build')
-rwxr-xr-xbuild2
1 files changed, 1 insertions, 1 deletions
diff --git a/build b/build
index fef10f2..4e634b1 100755
--- a/build
+++ b/build
@@ -2,7 +2,7 @@
 #!nix-shell -i sh -p curl fead python3Packages.formbox htmlq julia-bin nodejs
 set -ex
 curl -Ss https://git.sr.ht/~amolith/fediring.net/blob/main/webring.txt |
-    awk 'NR % 2 { print $2 }' > _libs/fediring
+    grep -C1 cnx.gdn | awk 'NR % 2 { print $2 }' > _libs/fediring
 fead -F _libs/fead/sources -n 4 -l 192\
   < _libs/fead/in.html > _libs/fead/out.html
 NODE=node julia --project=@. build.jl