diff options
-rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index d3ffd6e..6f4eb70 100644 --- a/src/main.rs +++ b/src/main.rs @@ -226,6 +226,7 @@ fn write_nav(file: &mut File, in_path: &Path, raw_path: &Path) println!("\t\t\t{:?} {:?}", name, link); + // don't add the current page to the dropdown, we're on it already! if name == nav_breadcrumb_name { continue } |