From 1cdffa967eea30a7947fea23e665fc1e68ffbf58 Mon Sep 17 00:00:00 2001 From: davidovski Date: Tue, 13 Jun 2023 00:12:02 +0100 Subject: use shblg to generate a static site from this repo --- new.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'new.sh') diff --git a/new.sh b/new.sh index 9fce8a3..3a05034 100755 --- a/new.sh +++ b/new.sh @@ -5,9 +5,9 @@ TEMPFILE=/tmp/blog_entry.md $EDITOR $TEMPFILE -NAME=src/$(head -1 $TEMPFILE | cut -d" " -f2-).md +NAME=entries/$(head -1 $TEMPFILE | cut -d" " -f2-).html cp $TEMPFILE "$NAME" rm $TEMPFILE -./sync.sh +chmod +x $NAME -- cgit v1.2.1