commit f09278c8de48fa112ce28debe7f724ac77fbe82e
parent 891ffcb161012671416283e1e74ce6118c39a795
Author: pyratebeard <root@pyratebeard.net>
Date: Mon, 10 Jan 2022 20:27:24 +0000
update to title setting to allow for hyohens
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/pyratelog.sh b/pyratelog.sh
@@ -35,7 +35,7 @@ for md in ${find_md} ; do
fi
# cut the title and replace underscores with spaces for menu
- input_title=$(echo ${input} | cut -f2 -d '-' | sed 's/_/\ /g')
+ input_title=$(echo ${input} | cut -f2- -d '-' | sed 's/_/\ /g')
index_title=$(echo ${input_title})
# create menu link for index page