From 14350822e6f63f8be67e2e57b3b465edc5a5585d Mon Sep 17 00:00:00 2001 From: Ben Harris Date: Sun, 26 Apr 2020 17:48:47 -0400 Subject: [PATCH] add gopher support to wiki --- wiki/gophermap | 10 ++++++++++ wiki/txtlist.sh | 6 ++++++ 2 files changed, 16 insertions(+) create mode 100644 wiki/gophermap create mode 100755 wiki/txtlist.sh diff --git a/wiki/gophermap b/wiki/gophermap new file mode 100644 index 0000000..e5cce48 --- /dev/null +++ b/wiki/gophermap @@ -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 + diff --git a/wiki/txtlist.sh b/wiki/txtlist.sh new file mode 100755 index 0000000..d8f2f56 --- /dev/null +++ b/wiki/txtlist.sh @@ -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 +