diff options
Diffstat (limited to 'latest-post.sh')
-rwxr-xr-x | latest-post.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/latest-post.sh b/latest-post.sh new file mode 100755 index 0000000..b72841b --- /dev/null +++ b/latest-post.sh @@ -0,0 +1,5 @@ +#!/bin/bash + +postsDir=static/src/_posts + +echo $postsDir/$(ls -1 static/src/_posts | sort -n | tail -n1) |