# show all options default: just --list --unsorted # build html from markdown html: pandoc -f markdown+autolink_bare_uris -t html --standalone -H templates/header-includes.html --toc -o www/index.html src/piblog.md # build rss feed from journal rss: #!/usr/bin/env sh echo "piblog" > www/feed.xml echo "http://tilde.town/~dozens/piblog/index.htmljust a little log about my raspberry pi" >> www/feed.xml ed -s !'markdown src/piblog.md' << HEREDOC | recfmt -f templates/feeditem.template | m4 >> www/feed.xml /BEGIN/ka /END/kb 1,'ad 'b,d g/^

/+s/^/note: / v/^note/s/^/+ / %s/+

/

/ %s_^

- \(.*\)

_\\ time: \1\\ title: \2_ g/^+ $/d ,w /dev/stdout Q HEREDOC echo '
' >> www/feed.xml # watch for changes watch: ls src/piblog.md | entr just html # build html and rss build: html rss # upload up: rsync -zaP www/ tilde:public_html/piblog # build and upload all: build up