From e0e00837eb4492e96188230d2b790889d7a42e5a Mon Sep 17 00:00:00 2001 From: Teajey <21069848+Teajey@users.noreply.github.com> Date: Sun, 14 Apr 2024 17:24:48 +1200 Subject: [PATCH] fix: correct prev and next file direction --- src/route/frontmatter_file.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/route/frontmatter_file.rs b/src/route/frontmatter_file.rs index 1e72aea..454fef9 100644 --- a/src/route/frontmatter_file.rs +++ b/src/route/frontmatter_file.rs @@ -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(