summaryrefslogtreecommitdiff
path: root/bk_html.c
diff options
context:
space:
mode:
Diffstat (limited to 'bk_html.c')
-rw-r--r--bk_html.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/bk_html.c b/bk_html.c
index 7914024..96092aa 100644
--- 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);