From 580d0493b838b6fb80e344e9b3d55c5df2e8a96d Mon Sep 17 00:00:00 2001 From: xdavidwu Date: Mon, 5 Oct 2020 11:33:07 +0800 Subject: [PATCH] add gemini index --- .gitlab-ci.yml | 2 +- gemini/index.gmi | 7 +++++++ 2 files changed, 8 insertions(+), 1 deletion(-) create mode 100644 gemini/index.gmi diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 2801368..58dd19a 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -8,7 +8,6 @@ gemini: - apk add py3-pip - pip3 install md2gemini script: - - mkdir gemini - cd _posts - > for i in *.md;do @@ -24,6 +23,7 @@ gemini: fi done IFS=$OIFS + echo "=> $(echo $i | sed s/\.md$/.gmi/) $(grep '^title:' $i | cut -f 2 -d \")" >> ../gemini/index.gmi done - md2gemini -w -d ../gemini -f -i tab -l paragraph *.md artifacts: diff --git a/gemini/index.gmi b/gemini/index.gmi new file mode 100644 index 0000000..a62bcf5 --- /dev/null +++ b/gemini/index.gmi @@ -0,0 +1,7 @@ +# xdavidwu's blog + +This is gemini:// version of xdavidwu's "Hacking Life" blog[1], post contents are identical. + +=> https://xdavidwu.eglo.ga/ 1: https://xdavidwu.eglo.ga + +## Posts -- 2.45.2