add gopher support to wiki

This commit is contained in:
Ben Harris 2020-04-26 17:48:47 -04:00
parent 73b524a46e
commit 14350822e6
2 changed files with 16 additions and 0 deletions

10
wiki/gophermap Normal file
View File

@ -0,0 +1,10 @@
!tilde.club wiki
welcome to the gopher portal of the tilde.club wiki
it's also available on the web at https://tilde.club/wiki/
here are the articles:
=./txtlist.sh

6
wiki/txtlist.sh Executable file
View File

@ -0,0 +1,6 @@
#!/bin/sh
for txt in ./*.txt; do
printf "0%s\t%s\ttilde.club\t70\n" "$(head -n1 $txt)" "/wiki/${txt#"./"}"
done