From d7c5d6596ac97a5fff51c52ed72c694f9e5a84fc Mon Sep 17 00:00:00 2001 From: zxyz <33009283+x-t@users.noreply.github.com> Date: Thu, 3 Jan 2019 00:01:03 +0200 Subject: [PATCH] Update lb --- lb | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lb b/lb index d1f1da0..644c98e 100755 --- a/lb +++ b/lb @@ -2,7 +2,6 @@ name="Luke Smith" webdir="$(pwd)" website="https://lukesmith.xyz/" # Keep a trailing slash. -blogfile="blog.html" css="../style.css" blogfile="2018.html" indexfile="blogindex.html" @@ -73,5 +72,5 @@ case "$1" in t*) listandReturn "$webdir"/blog/.drafts/ trash && confirm trash && rm -f "$webdir/blog/.drafts/$chosen" && sed -i "/ \"$base.html\"/d" "$webdir/blog/.htaccess" ; printf "Draft deleted.\\n" ;; d*) listandReturn "$webdir"/blog/ delete && confirm delete && delete ;; r*) listandReturn "$webdir"/blog/ revise && revise ;; - *) printf "lb blog system by Luke Smith \\nUsage:\\n ln n:\\tnew draft\\n lb e:\\tedit draft\\n lb p:\\tpublish/finalize draft\\n lb r:\\trevise published entry\\n lb t:\\tdiscard draft\\n lb d:\\tdelete published entry\\n\\nBe sure to have the following pattern added to your RSS feed, blog file and blog index:\\n\\n\\n\\nNew content will be added directly below that sequence. This is required.\\nSee https://github.com/LukeSmithxyz/lb for more.\\n" ;; + *) printf "lb blog system by Luke Smith \\nUsage:\\n lb n:\\tnew draft\\n lb e:\\tedit draft\\n lb p:\\tpublish/finalize draft\\n lb r:\\trevise published entry\\n lb t:\\tdiscard draft\\n lb d:\\tdelete published entry\\n\\nBe sure to have the following pattern added to your RSS feed, blog file and blog index:\\n\\n\\n\\nNew content will be added directly below that sequence. This is required.\\nSee https://github.com/LukeSmithxyz/lb for more.\\n" ;; esac