about summary refs log tree commit diff homepage
diff options
context:
space:
mode:
authorNguyễn Gia Phong <mcsinyx@disroot.org>2022-09-11 01:55:00 +0900
committerNguyễn Gia Phong <mcsinyx@disroot.org>2022-09-11 01:55:00 +0900
commitf3f71bf5b1e9727ccfed83bfe4c229997605c8fb (patch)
tree4e6c8affa0b7c2b99a3c2b1c6d1a9ddb8e51d568
parenta7a7734699a04099083fe4f5514058505ecd66d8 (diff)
downloadsite-f3f71bf5b1e9727ccfed83bfe4c229997605c8fb.tar.gz
Migrate to cnx.gdn
-rw-r--r--.builds/auto.yml6
-rw-r--r--_css/style.css4
-rw-r--r--_layout/footer.html3
-rw-r--r--_libs/openring/sources9
-rw-r--r--blog/2020/gsoc/index.md2
-rw-r--r--blog/teredo.md2
-rw-r--r--config.md2
-rw-r--r--works.md13
8 files changed, 32 insertions, 9 deletions
diff --git a/.builds/auto.yml b/.builds/auto.yml
index e0ac326..29b4467 100644
--- a/.builds/auto.yml
+++ b/.builds/auto.yml
@@ -10,7 +10,7 @@ environment:
   NODE: node
 tasks:
   - inject: |
-      grep -C1 cnx.srht.site fediring.net/webring.txt |
+      grep -C1 cnx.gdn 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
@@ -21,4 +21,6 @@ tasks:
       nix-shell -p python3Packages.css-html-js-minify --run _libs/postprocess
   - deploy: |
       tar -cvzf site.tar.gz -C site/__site .
-      acurl -f https://pages.sr.ht/publish/cnx.srht.site -F content=@site.tar.gz
+      acurl -f https://pages.sr.ht/publish/cnx.gdn -F content=@site.tar.gz
+artifacts:
+  - site.tar.gz
diff --git a/_css/style.css b/_css/style.css
index d7bea79..d75fc96 100644
--- a/_css/style.css
+++ b/_css/style.css
@@ -107,6 +107,10 @@ p, details {
 .franklin-content .fndef td.fndef-content { padding-left: 1ch }
 
 /* Images */
+.franklin-content figure {
+    margin: 0;
+    text-align: center;
+}
 .franklin-content img {
     display: block;
     margin: auto;
diff --git a/_layout/footer.html b/_layout/footer.html
index cde42d6..11c8b17 100644
--- a/_layout/footer.html
+++ b/_layout/footer.html
@@ -1,6 +1,7 @@
 <footer>
   {{copyright}}; <span class=nowrap>See
-  <a href=/COPYING>license terms</a></span><br>
+  <a href=https://creativecommons.org/licenses/by-sa/4.0>license
+  terms</a></span><br>
 
   {{isnotpage /tag/*}}Last modified: {{author_date}};  <span class=nowrap>View
   <a href=https://git.sr.ht/~cnx/site/tree/main/item/{{fd_rpath}}>page
diff --git a/_libs/openring/sources b/_libs/openring/sources
index 2831008..7009b2a 100644
--- a/_libs/openring/sources
+++ b/_libs/openring/sources
@@ -1,12 +1,15 @@
+https://adol.pw/index.xml
+https://bbbhltz.codeberg.page/rss.xml
 https://blog.ganssle.io/feeds/all.atom.xml
 https://codesections.com/rss.xml
 https://danct12.github.io/feed.xml
 https://drewdevault.com/feed.xml
-https://huyngo.envs.net/index.xml
 https://mitchellh.com/feed.xml
 https://pgjones.dev/blog/rss20.xml
 https://seirdy.one/posts/index.xml
-https://stallman.org/rss/rss.xml
-https://www.tyil.nl/posts/index.xml
+https://specbranch.com/index.xml
+https://technomancy.us/atom.xml
 https://unixsheikh.com/feed.rss
 https://voussoir.net/writing/writing.atom
+https://www.tyil.nl/posts/index.xml
+https://xrvs.net/index.xml
diff --git a/blog/2020/gsoc/index.md b/blog/2020/gsoc/index.md
index 0606c13..97f4f4f 100644
--- a/blog/2020/gsoc/index.md
+++ b/blog/2020/gsoc/index.md
@@ -2,7 +2,7 @@
 rss = "GSoC 2020 final report"
 date = Date(2020, 8, 31)
 rss_pubdate = date # work around Franklin issue GH-797
-fd_full_url = "https://cnx.srht.site/blog/2020/gsoc/index.html"
+fd_full_url = "https://cnx.gdn/blog/2020/gsoc/index.html"
 tags = ["fun", "gsoc", "packaging", "pip"]
 internship = "https://summerofcode.withgoogle.com/archive/2020/projects/6238594655584256"
 benchmark = "/blog/2020/gsoc/article/7/#the_benchmark"
diff --git a/blog/teredo.md b/blog/teredo.md
index 0140f4d..57757d2 100644
--- a/blog/teredo.md
+++ b/blog/teredo.md
@@ -25,7 +25,7 @@ connected by the tunnel.
 ## Configuration
 
 ~~~
-<figure style='text-align:center'>
+<figure>
   <a href=https://video.hardlimit.com/videos/watch/61a0e40c-a74d-4dc6-bb10-9be67b2c1ac5>
     <img src=/assets/teredo.png alt=Screenshot>
   </a>
diff --git a/config.md b/config.md
index e70fb85..3e99170 100644
--- a/config.md
+++ b/config.md
@@ -3,7 +3,7 @@ author = "Nguyễn Gia Phong"
 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 = "https://cnx.gdn"
 date_format = "yyyy-mm-dd"
 mintoclevel = 2
 generate_rss = true
diff --git a/works.md b/works.md
index 282bb55..f19f980 100644
--- a/works.md
+++ b/works.md
@@ -192,6 +192,15 @@ Other themes and configurations are cooperated into my personal [dotfiles].
 It is entirely powered by free software, self-hostable and federated via email.
 I send trivial patches for random issues I run into every now and then.
 
+### Loang
+
+[Loang] is a collection of services, including a [Matrix] homeserver,
+a web server, a [Gemini] server, an [IPFS] node and shell access.
+
+### Phylactery
+
+[Phylactery] is a web server rendering comic books directly from ZIP archives.
+
 ### Acanban
 
 [Acanban] is a work-in-progress collaboration platform for students
@@ -252,6 +261,10 @@ was picked for database.
 [Adwaita]: https://blogs.gnome.org/mclasen/2014/06/13/a-new-default-theme-for-gtk
 [MathieWD]: https://www.opendesktop.org/p/1016294
 [dotfiles]: https://git.sr.ht/~cnx/dotfiles
+[Loang]: https://loang.net
+[Matrix]: https://matrix.org
+[Gemini]: https://gemini.circumlunar.space
+[Phylactery]: https://git.sr.ht/~cnx/phylactery
 [SourceHut]: https://sourcehut.org
 [Acanban]: https://pypi.org/project/acanban
 [ASGI]: https://asgi.readthedocs.io