summary refs log tree commit diff
path: root/www/git.causal.agency/source-filter.sh
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2020-01-08 01:58:44 +0000
committerJune McEnroe <june@causal.agency>2020-01-08 01:58:44 +0000
commit8e812d8443d3316eb0f85e627f1cd882e67822a4 (patch)
tree20a14c00778013f649e60f73b6316ae13c3539f8 /www/git.causal.agency/source-filter.sh
parentAdd The Book of Flora (diff)
downloadsrc-8e812d8443d3316eb0f85e627f1cd882e67822a4.tar.gz
src-8e812d8443d3316eb0f85e627f1cd882e67822a4.zip
Use mandoc -T html for about-filter
This also makes source-filter show mdoc source again and removes the
dependency on ttpre entirely. I copied in the inline stylesheet mandoc
outputs without -O fragment and added some customizations.
Diffstat (limited to '')
-rw-r--r--www/git.causal.agency/source-filter.sh11
1 files changed, 1 insertions, 10 deletions
diff --git a/www/git.causal.agency/source-filter.sh b/www/git.causal.agency/source-filter.sh
index 5c5eb734..4febc2e0 100644
--- a/www/git.causal.agency/source-filter.sh
+++ b/www/git.causal.agency/source-filter.sh
@@ -1,12 +1,3 @@
 #!/bin/sh
 
-export LANG=en_US.UTF-8
-case "$1" in
-	(*.[1-9])
-		/usr/local/libexec/about-filter "$@"
-		printf '</code></pre></td><td><pre><code>'
-		;;
-	(*)
-		exec /usr/local/libexec/hi -t -n "$1" -f html -o anchor
-		;;
-esac
+exec /usr/local/libexec/hi -t -n "$1" -f html -o anchor