M .gitlab-ci.yml => .gitlab-ci.yml +1 -1
@@ 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:
A gemini/index.gmi => gemini/index.gmi +7 -0
@@ 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