diff --git a/justfile b/justfile index cb8be53..c07b947 100644 --- a/justfile +++ b/justfile @@ -9,9 +9,10 @@ html: # 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 + exec > wwww/feed.xml + echo "piblog" + echo "http://tilde.town/~dozens/piblog/index.htmljust a little log about my raspberry pi" + ed -s !'markdown src/piblog.md' << HEREDOC | recfmt -f templates/feeditem.template | m4 /BEGIN/ka /END/kb 1,'ad @@ -26,7 +27,7 @@ rss: ,w /dev/stdout Q HEREDOC - echo '' >> www/feed.xml + echo '' # watch for changes watch: