From e2d96cb830bf090aa25cea1f2c55913a81ae9d05 Mon Sep 17 00:00:00 2001 From: Fuwn Date: Tue, 14 Jun 2022 00:16:12 -0700 Subject: format(modules): casing of top level headers --- src/modules/blog/module.rs | 4 ++-- src/modules/search.rs | 2 +- src/modules/sitemap.rs | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) (limited to 'src/modules') 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)) -- cgit v1.2.3