diff options
| author | Fuwn <[email protected]> | 2022-06-14 00:16:12 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2022-06-14 00:16:12 -0700 |
| commit | e2d96cb830bf090aa25cea1f2c55913a81ae9d05 (patch) | |
| tree | 35d268da085f98cc82aa7b8d6a9899e1c266eff5 /src | |
| parent | feat(remarks): add more structure to remarks (diff) | |
| download | locus-e2d96cb830bf090aa25cea1f2c55913a81ae9d05.tar.xz locus-e2d96cb830bf090aa25cea1f2c55913a81ae9d05.zip | |
format(modules): casing of top level headers
Diffstat (limited to 'src')
| -rw-r--r-- | src/modules/blog/module.rs | 4 | ||||
| -rw-r--r-- | src/modules/search.rs | 2 | ||||
| -rw-r--r-- | src/modules/sitemap.rs | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/modules/blog/module.rs b/src/modules/blog/module.rs index c5677eb..62152bf 100644 --- a/src/modules/blog/module.rs +++ b/src/modules/blog/module.rs @@ -107,7 +107,7 @@ pub fn module(router: &mut windmark::Router) { Box::new(move |context| { success!( &format!( - "# BLOGS ({})\n\n{}", + "# Blogs ({})\n\n{}", blog_clone.len(), blog_clone .iter() @@ -187,7 +187,7 @@ pub fn module(router: &mut windmark::Router) { success!( &format!( "# {} ({})\n\n{}\n\n{}", - blog.to_uppercase(), + blog, entries_clone.len(), description, entries_clone diff --git a/src/modules/search.rs b/src/modules/search.rs index 15d0061..61207d0 100644 --- a/src/modules/search.rs +++ b/src/modules/search.rs @@ -58,7 +58,7 @@ pub(super) fn module(router: &mut windmark::Router) { "A search engine for this Gemini capsule", Box::new(|context| { let mut response = String::from( - "# SEARCH\n\n=> /search?action=go Search!\n=> /random I'm Feeling \ + "# Search\n\n=> /search?action=go Search!\n=> /random I'm Feeling \ Lucky", ); diff --git a/src/modules/sitemap.rs b/src/modules/sitemap.rs index d9f94a5..2e03002 100644 --- a/src/modules/sitemap.rs +++ b/src/modules/sitemap.rs @@ -24,7 +24,7 @@ pub fn module(router: &mut windmark::Router) { Box::new(|context| { crate::success!( format!( - "# SITEMAP\n\n{}", + "# Sitemap\n\n{}", (*crate::route::ROUTES.lock().unwrap()) .iter() .map(|(r, d)| format!("=> {} {}", r, d.description)) |