diff options
-rwxr-xr-x | new-post.sh | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/new-post.sh b/new-post.sh new file mode 100755 index 0000000..97870d8 --- /dev/null +++ b/new-post.sh @@ -0,0 +1,3 @@ +#!/bin/sh +# Shell script to create a new post +hugo new "posts/$(date --iso-8601)-$1.md" |