about summary refs log tree commit diff
diff options
context:
space:
mode:
authorEmile <git@emile.space>2022-02-03 21:52:13 +0100
committerEmile <git@emile.space>2022-02-03 21:52:13 +0100
commit59f376bf435f1832e9cb73d0f7355cd440988f1f (patch)
tree17e6982e2993e6fb2a260e8c431183449ff74351
parenta855647d452a938a8a8a49edbd5aff5355430f89 (diff)
comment
-rw-r--r--src/main.rs1
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
             }