From f3f71bf5b1e9727ccfed83bfe4c229997605c8fb Mon Sep 17 00:00:00 2001 From: Nguyễn Gia Phong Date: Sun, 11 Sep 2022 01:55:00 +0900 Subject: Migrate to cnx.gdn --- .builds/auto.yml | 6 ++++-- _css/style.css | 4 ++++ _layout/footer.html | 3 ++- _libs/openring/sources | 9 ++++++--- blog/2020/gsoc/index.md | 2 +- blog/teredo.md | 2 +- config.md | 2 +- works.md | 13 +++++++++++++ 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 @@