summaryrefslogtreecommitdiff
path: root/new.sh
diff options
context:
space:
mode:
authordavidovski <david@davidovski.xyz>2023-06-13 00:12:02 +0100
committerdavidovski <david@davidovski.xyz>2023-06-13 00:12:02 +0100
commit1cdffa967eea30a7947fea23e665fc1e68ffbf58 (patch)
treeecf6a75bb9c9aa530bf5e7cca909c9b8894fd690 /new.sh
parent40a6aabbdb721da1e0b3f0274a1689cccbb3415f (diff)
use shblg to generate a static site from this repo
Diffstat (limited to 'new.sh')
-rwxr-xr-xnew.sh4
1 files changed, 2 insertions, 2 deletions
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