Skip to content

Commit

Permalink
fix: correct prev and next file direction
Browse files Browse the repository at this point in the history
  • Loading branch information
Teajey committed Apr 14, 2024
1 parent 037e914 commit e0e0083
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/route/frontmatter_file.rs
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ fn get_prev_and_next_file_names<'a>(
None
};
let next_file_name = files.get(i + 1).map(|f| f.name());
(prev_file_name, next_file_name)
(next_file_name, prev_file_name)
}

fn post_inner(
Expand Down

0 comments on commit e0e0083

Please sign in to comment.