Compare commits

...

No commits in common. "eb756f8817aa93d8dd07696e685887f7e06f2746" and "c019a1536d605bf91d96f163d34e757aad99ca9b" have entirely different histories.

2 changed files with 9 additions and 5 deletions

2
.gitignore vendored
View File

@ -1 +1 @@
out.html index.html

View File

@ -6,13 +6,13 @@ default:
build: build:
@find src -name '*.txt' -type f | sort -n | xargs m4 macros @find src -name '*.txt' -type f | sort -n | xargs m4 macros
# watch for changes and build out.html # watch for changes and build index.html
watch: watch:
@find src -type f | entr just html @find src -type f | entr just html
# create out.html # create index.html
html: html:
@just build | pandoc --toc -s -c static/styles/main.css -H static/head.html -f markdown+simple_tables > out.html @just build | pandoc --toc -s -c static/styles/main.css -H static/head.html -f markdown+simple_tables > index.html
# word count # word count
words: words:
@ -20,4 +20,8 @@ words:
# clean up artifacts # clean up artifacts
clean: clean:
@rm out.html @rm index.html
# publish to town
up:
scp index.html tilde:~/public_html/forest/