about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rwxr-xr-xblog4
1 files changed, 3 insertions, 1 deletions
diff --git a/blog b/blog
index abcffc6..3f37676 100755
--- a/blog
+++ b/blog
@@ -22,8 +22,10 @@ fn gettitle{
 }
 posts=`{ls -p $webroot/posts}
 fullurl=`{read}
+echo $fullurl >[1=2]
 url=`{echo $fullurl | sed 's/gemini:\/\/[0-9 a-z .]*//
-			s/
//'}
+			s/
//
+			s/%2B/+/g'}
 
 if(~ $url '') url=/