From c52fa1d2c7ab61a3ef1e1c55341bb59433fac875 Mon Sep 17 00:00:00 2001 From: la-ninpre Date: Sun, 23 May 2021 20:28:40 +0300 Subject: add few comments to new post script note: this script is primarily for personal use and there are could be some bugs. --- aaoth_new_post.sh | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/aaoth_new_post.sh b/aaoth_new_post.sh index 2a7c7c9..3ca34b4 100755 --- a/aaoth_new_post.sh +++ b/aaoth_new_post.sh @@ -1,5 +1,7 @@ #!/bin/sh +# quick and dirty script to add new posts to aaoth.xyz + SITE_DIR="$HOME/Documents/aaoth.xyz" POSTS_DIR="$SITE_DIR/_posts" @@ -7,6 +9,8 @@ DATE_SHORT=$(date -I) DATE_LONG=$(date -Isec) usage() { + echo "add a post to aaoth.xyz" + echo echo "usage:" echo " $0 [OPTIONS]" echo -- cgit v1.2.3