diff --git a/stagit.c b/stagit.c
@@ -453,8 +453,6 @@ void writeheader(FILE *fp, const char *title)
fputs("<a href=\"https://git.pablopie.xyz\">git.pablopie.xyz</a>\n", fp);
fputs("</nav>\n", fp);
- fputs("<main>\n", fp);
-
fputs("<main>\n<h1>", fp);
xmlencode(fp, strippedname, strlen(strippedname));
fputs("</h1>\n<p>", fp);