The navigation links now contain a link to the index page.
authorsimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 30 Mar 2004 19:49:42 +0000 (19:49 +0000)
committersimon <simon@cda61777-01e9-0310-a592-d414129be87e>
Tue, 30 Mar 2004 19:49:42 +0000 (19:49 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/halibut@4002 cda61777-01e9-0310-a592-d414129be87e

bk_xhtml.c

index 745cce5..4cbe1d6 100644 (file)
@@ -730,6 +730,11 @@ static void xhtml_donavlinks(FILE *fp, xhtmlfile *file)
     fprintf(fp, "<a href='%s'>Previous</a> | ", xhtml_last_file->filename);
   }
   fprintf(fp, "<a href='Contents.html'>Contents</a> | ");
+  if (file == NULL) {
+    fprintf(fp, "Index | ");
+  } else {
+    fprintf(fp, "<a href='%s'>Index</a> | ", xhtml_index_filename);
+  }
   if (file != NULL) { /* otherwise we're doing nav links for the index */
     if (xhtml_next_file==NULL)
       xhtml_next_file = file->child;