about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
-rw-r--r--.builds/auto.yml7
-rw-r--r--config.md1
2 files changed, 3 insertions, 5 deletions
diff --git a/.builds/auto.yml b/.builds/auto.yml
index 34756e1..e0ac326 100644
--- a/.builds/auto.yml
+++ b/.builds/auto.yml
@@ -1,18 +1,17 @@
 image: nixos/unstable
 oauth: lists.sr.ht/EMAILS:RO pages.sr.ht/PAGES:RW
 packages:
-  - nixos.jq
   - nixos.openring
   - nixos.python3
 sources:
+  - https://git.sr.ht/~amolith/fediring.net
   - https://git.sr.ht/~cnx/site
 environment:
   NODE: node
 tasks:
   - inject: |
-      curl https://fediring.net/ring.json |
-        jq -r 'map(.host)|until(.[0]=="cnx.srht.site";.[1:]+.[:1])|.[-1,1]'\
-        > site/_libs/fediring
+      grep -C1 cnx.srht.site fediring.net/webring.txt |
+        awk 'NR % 2 { print $2 }' > site/_libs/fediring
       openring -n 4 -l 192 -S site/_libs/openring/sources\
         < site/_libs/openring/in.html > site/_libs/openring/out.html
       acurl https://lists.sr.ht/query/list/5261.mbox -o site/_libs/formbox/mbox
diff --git a/config.md b/config.md
index 60ef4fe..615c2b2 100644
--- a/config.md
+++ b/config.md
@@ -4,7 +4,6 @@ website_title = "Web logs by McSinyx"
 website_description = "Random write-ups packed with pop culture references"
 copyright = "🄯 2019–2022 " * author
 website_url = "https://cnx.srht.site"
-website_url = "http://localhost:8000"
 date_format = "yyyy-mm-dd"
 mintoclevel = 2
 generate_rss = true