Skip to content

Commit d8db17d

Browse files
author
yggverse
committed
append project name to header
1 parent 6b43b07 commit d8db17d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

crates/gemini/src/main.rs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -448,12 +448,13 @@ fn info(state: &State, torrent: Torrent) -> Result<String> {
448448
let mut b = Vec::new();
449449

450450
b.push(format!(
451-
"# {}\n",
451+
"# {} • {}\n",
452452
i.info
453453
.name
454454
.as_ref()
455455
.map(|n| n.to_string())
456-
.unwrap_or(state.name.clone())
456+
.unwrap_or(state.name.clone()),
457+
state.name
457458
));
458459

459460
b.push(format!(

0 commit comments

Comments
 (0)