~xdavidwu/xdavidwu.link

580d0493b838b6fb80e344e9b3d55c5df2e8a96d — xdavidwu 4 years ago c6fbf90
add gemini index
2 files changed, 8 insertions(+), 1 deletions(-)

M .gitlab-ci.yml
A gemini/index.gmi
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