diff --git a/Makefile b/Makefile index 6e821c6..74ba652 100644 --- a/Makefile +++ b/Makefile @@ -28,7 +28,7 @@ upload: $(OUTDIR)/%.html: $(PAGEDIR)/%.md $(TPLDIR)/default.tpl @mkdir -p $(@D) - theme -C style -t $(TPLDIR)/default.tpl -o $@ $< + theme -C style -t $(TPLDIR)/default.tpl -p $(patsubst $(OUTDIR)/%,%,$@) -o $@ $< $(OUTDIR)/%: static/%.h @mkdir -p $(@D) diff --git a/tpl/default.tpl b/tpl/default.tpl index 2483447..4e10434 100644 --- a/tpl/default.tpl +++ b/tpl/default.tpl @@ -4,6 +4,10 @@ <?theme title?> + + + +