1
Fork 0

Make task to get latest post as HTML

This commit is contained in:
Jan-Erik Rediger 2021-07-26 12:12:58 +02:00
parent 87df2cb596
commit 51b8c6fa5f

View file

@ -28,3 +28,7 @@ clean:
rerun: rerun:
fd | entr -s 'make build' fd | entr -s 'make build'
.PHONY: rerun .PHONY: rerun
latest-html: ## Get latests post renderewd into HTML
find _posts -type f | sort | tail -1 | xargs -I% pandoc -f markdown -t html %
.PHONY: latest-html