aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorFuwn <[email protected]>2024-11-03 23:22:40 -0800
committerFuwn <[email protected]>2024-11-03 23:22:40 -0800
commite0c4eb21d187bf62c03454cf22145ccd181f5e9b (patch)
tree0c09cca8fa9eaf6aefc76a5f0cabeffd2818568e /src
parentfeat(index): add recent posts section (diff)
downloadlocus-e0c4eb21d187bf62c03454cf22145ccd181f5e9b.tar.xz
locus-e0c4eb21d187bf62c03454cf22145ccd181f5e9b.zip
fix(index): link line ordering
Diffstat (limited to 'src')
-rw-r--r--src/modules/index.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/index.rs b/src/modules/index.rs
index 46ffc74..3b7e0fa 100644
--- a/src/modules/index.rs
+++ b/src/modules/index.rs
@@ -38,7 +38,7 @@ Don't know where to start? Check out the directory or test your luck!
posts
.iter()
- .map(|post| format!("=> {} {}", post.title(), post.link()))
+ .map(|post| format!("=> {} {}", post.link(), post.title()))
.collect::<Vec<String>>()
.into_iter()
.take(3)