Make task to get latest post as HTML
This commit is contained in:
parent
87df2cb596
commit
51b8c6fa5f
1 changed files with 4 additions and 0 deletions
4
Makefile
4
Makefile
|
@ -28,3 +28,7 @@ clean:
|
|||
rerun:
|
||||
fd | entr -s 'make build'
|
||||
.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
|
||||
|
|
Loading…
Add table
Reference in a new issue