diff --git a/Makefile b/Makefile index 6174b8d..0142d43 100644 --- a/Makefile +++ b/Makefile @@ -38,7 +38,8 @@ public/: mkdir $@ $(pages): public/%.html: %.md | public/ - lowdown $< > $@ + sed 's/\(\[.*\)\(.*\)\.md)/\1)/g' $< |\ + lowdown -m filename=$(basename $@) -s --template default.html > $@ .PHONY: clean clean: diff --git a/default.html b/default.html new file mode 100644 index 0000000..33cf37b --- /dev/null +++ b/default.html @@ -0,0 +1,28 @@ + + +
+ + + $for(author.split)$ + + $endfor$ + $ifdef(date)$ + + $endif$ + $for(css.split)$ + + $endfor$ + $for(javascript.split)$ + + $endfor$ +