all repos — aaoth.xyz @ c52fa1d2c7ab61a3ef1e1c55341bb59433fac875

aaoth.xyz website

add few comments to new post script

note: this script is primarily for personal use and there are could be
some bugs.
la-ninpre leobrekalini@gmail.com
Sun, 23 May 2021 20:28:40 +0300
commit

c52fa1d2c7ab61a3ef1e1c55341bb59433fac875

parent

835c1d8aba6722df690dd619c571054872e5c3d7

1 files changed, 4 insertions(+), 0 deletions(-)

jump to
M aaoth_new_post.shaaoth_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