Formatting fix if no index
authorjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 18 Feb 2005 20:44:05 +0000 (20:44 +0000)
committerjacob <jacob@cda61777-01e9-0310-a592-d414129be87e>
Fri, 18 Feb 2005 20:44:05 +0000 (20:44 +0000)
git-svn-id: svn://svn.tartarus.org/sgt/halibut@5350 cda61777-01e9-0310-a592-d414129be87e

bk_html.c

index 7914024..96092aa 100644 (file)
--- a/bk_html.c
+++ b/bk_html.c
@@ -885,9 +885,8 @@ void html_backend(paragraph *sourceform, keywordlist *keywords,
                if (f != files.head)
                    element_close(&ho, "a");
 
-               html_text(&ho, conf.nav_separator);
-
                if (has_index) {
+                   html_text(&ho, conf.nav_separator);
                    if (f != files.index) {
                        element_open(&ho, "a");
                        element_attr(&ho, "href", files.index->filename);