From f17e2af4e8bd4e0d8852f1a1b3b50c4c3496b936 Mon Sep 17 00:00:00 2001 From: sneedgroup-holder Date: Sun, 3 Nov 2024 23:32:36 +0000 Subject: [PATCH] fix log script --- log/index.gmi | 6 ++++-- log/new-post.sh | 6 +++--- 2 files changed, 7 insertions(+), 5 deletions(-) diff --git a/log/index.gmi b/log/index.gmi index 7028dde..a20f322 100644 --- a/log/index.gmi +++ b/log/index.gmi @@ -1,3 +1,5 @@ -# Nodemixaholic's Gemini Log - +# Capitan's Log +## Hello, welcome to my Gemini log! +Just setting up my Gemini log. + diff --git a/log/new-post.sh b/log/new-post.sh index 537e3cf..4ab7e83 100755 --- a/log/new-post.sh +++ b/log/new-post.sh @@ -1,9 +1,9 @@ postID="$RANDOM-$RANDOM$RANDOM" -echo " " >> $postID -echo "## Title" > $postID +echo " " > $postID +echo "## Title" >> $postID echo "Body" >> $postID nano $postID echo " " >> $postID -cat $postID > index.gmi +cat $postID >> index.gmi rm $postID