From 4aa7728283f4e0ece89437bf7933e8293063c830 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 8 Jan 2020 01:58:44 +0000 Subject: 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. --- www/git.causal.agency/source-filter.sh | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'www/git.causal.agency/source-filter.sh') 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 '
'
-		;;
-	(*)
-		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
-- 
cgit 1.4.1