From a3c9e3c23bdc22392d98b8dc5d261dde3ad7cc01 Mon Sep 17 00:00:00 2001
From: MatthewOwens <matthew@owens.tech>
Date: Sun, 19 Jul 2020 11:33:04 +0100
Subject: [PATCH] updated post_title script so that only leading spaces are
 removed

---
 scripts/post_title.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scripts/post_title.sh b/scripts/post_title.sh
index 19ca5d5..cd5d352 100755
--- a/scripts/post_title.sh
+++ b/scripts/post_title.sh
@@ -4,7 +4,7 @@ if [ $# -ne 1 ]; then
 	t="fallback title"
 else
 	t=$(sed -rn 's/^#([^#])/\1/p' $1)
-	t=$(echo $t | sed 's/ //g')
+	t=$(echo $t | sed 's/^ //g')
 fi
 
 echo "<title>$t</title>"
-- 
2.20.1