aboutsummaryrefslogtreecommitdiff
path: root/src/main.rs
diff options
context:
space:
mode:
authorFuwn <[email protected]>2022-04-03 02:43:53 -0700
committerFuwn <[email protected]>2022-04-03 02:43:53 -0700
commit14ce4567f152a8d2186640d016afcc28e214fb06 (patch)
tree38b191e4490e1dd05e7c5dc05c308230207520de /src/main.rs
parentfeat(gemini): add more gemrest projects (diff)
downloadlocus-14ce4567f152a8d2186640d016afcc28e214fb06.tar.xz
locus-14ce4567f152a8d2186640d016afcc28e214fb06.zip
feat(footer): mini commit
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs9
1 files changed, 5 insertions, 4 deletions
diff --git a/src/main.rs b/src/main.rs
index bd58794..ff9fbbf 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -65,10 +65,11 @@ static DATABASE: SyncLazy<Mutex<PickleDb>> = SyncLazy::new(|| {
#[derive(Template)]
#[template(path = "main")]
struct Main<'a> {
- body: &'a str,
- hits: &'a i32,
- quote: &'a str,
- commit: &'a str,
+ body: &'a str,
+ hits: &'a i32,
+ quote: &'a str,
+ commit: &'a str,
+ mini_commit: &'a str,
}
fn hits_from_route(route: &str) -> i32 {