diff --git a/stagit-index.c b/stagit-index.c
@@ -142,12 +142,7 @@ int writelog(FILE *fp)
fputs("<article>\n<h4>\n<a href=\"", fp);
xmlencode(fp, stripped_name, strlen(stripped_name));
-
- if (has_markdown_readme(repo))
- fputs("/README.html\">", fp);
- else
- fputs("/log.html\">", fp);
-
+ fputs("/index.html\">", fp);
xmlencode(fp, stripped_name, strlen(stripped_name));
fputs("</a>\n</h4>\n", fp);