summaryrefslogtreecommitdiff
path: root/latest-post.sh
blob: b72841bf6ba236b9987df8a5a90ec9c8fbe711d8 (plain)
1
2
3
4
5
#!/bin/bash

postsDir=static/src/_posts

echo $postsDir/$(ls -1 static/src/_posts | sort -n | tail -n1)