summaryrefslogtreecommitdiff
path: root/latest-post.sh
diff options
context:
space:
mode:
authorBrian Picciano <mediocregopher@gmail.com>2022-01-21 22:28:48 -0700
committerBrian Picciano <mediocregopher@gmail.com>2022-01-21 22:28:48 -0700
commitae3cc05ce744fb7c5d6329cca1f2c680db3c4289 (patch)
tree20c0bc3a70fae1b61fa42b094c2913edbf3e65ca /latest-post.sh
parentbfcdeb62332d6adf829cccfae987971b6c000835 (diff)
New fonts, remove external dependencies, clean out unused code, remove twitter stuff
Diffstat (limited to 'latest-post.sh')
-rwxr-xr-xlatest-post.sh5
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)