diff --git a/Makefile b/Makefile
index 8ff35b4e2b3f6228b8281c6cebf1714d10f30cb6..42be11bf0ca0b701c3eb7218a260c69a02fb93ab 100644
--- a/Makefile
+++ b/Makefile
@@ -59,7 +59,8 @@ $(OUT)/% : $(SRC)/% | $$(@D)
 	cp $< $@
 
 $(OUT)/%.php : $(SRC)/%.md signature.html | $$(@D)
-	pandoc --output $@ --template signature --from markdown --to html $<
+	pandoc --from markdown --to html --template signature --shift-heading-level-by=1 \
+	       --output $@ $<
 
 # Some shell magic to auto-document the main targets. To have a target appear in
 # the output, add a short, one-line comment with a double ## on the same line as