diff options
author | davidovski <david@davidovski.xyz> | 2023-06-13 00:12:02 +0100 |
---|---|---|
committer | davidovski <david@davidovski.xyz> | 2023-06-13 00:12:02 +0100 |
commit | 1cdffa967eea30a7947fea23e665fc1e68ffbf58 (patch) | |
tree | ecf6a75bb9c9aa530bf5e7cca909c9b8894fd690 /new.sh | |
parent | 40a6aabbdb721da1e0b3f0274a1689cccbb3415f (diff) |
use shblg to generate a static site from this repo
Diffstat (limited to 'new.sh')
-rwxr-xr-x | new.sh | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |