crabmail

Static HTML email archive viewer in Rust
git clone git://git.alexwennerberg.com/crabmail
Log | Files | Refs | README | LICENSE

commit 0ddfc1128ccd2cf98d5cf9756d7568c882c04e5e
parent b8ef12a178784af9eb946aeafe146ab35afe3e80
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sun,  3 Apr 2022 17:13:53 -0700

fix trailing slash

Diffstat:
Msrc/templates/gmi.rs | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/templates/gmi.rs b/src/templates/gmi.rs @@ -10,7 +10,7 @@ impl Lists { pub fn to_gmi(&self) -> String { let mut lists = String::new(); for list in &self.lists { - lists.push_str(&format!("=> ./{0} {0}\n", &h(&list.config.name))); + lists.push_str(&format!("=> ./{0}/ {0}\n", &h(&list.config.name))); } // this looks stupid ok I know template(