crabmail

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

commit 3012d468cfc17cd969147e2412b729beaf25d3ae
parent 680debddd3fd8340786b0f54542f1e03a0c269d3
Author: alex wennerberg <alex@alexwennerberg.com>
Date:   Sat, 12 Mar 2022 07:14:56 -0800

bug fix

Diffstat:
Msrc/main.rs | 3+--
Msrc/templates/html.rs | 1+
2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/main.rs b/src/main.rs @@ -56,9 +56,8 @@ fn write_if_unchanged(path: &PathBuf, data: &[u8]) -> bool { if &d == data { return false; } - } else { - write(path, data).unwrap() } + write(path, data).unwrap(); return true; } diff --git a/src/templates/html.rs b/src/templates/html.rs @@ -24,6 +24,7 @@ impl Lists<'_> { template( r#" <h1>Mail Archives</h1> + <hr> "#, &[("title", "tbd")], )