Compare commits
No commits in common. "01fd48e9ca34ce8d1c655f1adf315273fda616f7" and "7fce1dab55401cdf7cbb9cfd30f48c0ada09f76c" have entirely different histories.
01fd48e9ca
...
7fce1dab55
|
@ -293,7 +293,7 @@ checksum = "5827cebf4670468b8772dd191856768aedcb1b0278a04f989f7766351917b9dc"
|
||||||
|
|
||||||
[[package]]
|
[[package]]
|
||||||
name = "corobel"
|
name = "corobel"
|
||||||
version = "0.2.2"
|
version = "0.2.1"
|
||||||
dependencies = [
|
dependencies = [
|
||||||
"atom_syndication",
|
"atom_syndication",
|
||||||
"chrono",
|
"chrono",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "corobel"
|
name = "corobel"
|
||||||
version = "0.2.2"
|
version = "0.2.1"
|
||||||
edition = "2021"
|
edition = "2021"
|
||||||
|
|
||||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||||
|
|
|
@ -84,10 +84,10 @@ pub fn channel_for_posts_page(
|
||||||
let mut body_text = String::new();
|
let mut body_text = String::new();
|
||||||
|
|
||||||
if item.share_tree.len() == 1 {
|
if item.share_tree.len() == 1 {
|
||||||
body_text.push_str("(in reply to another post)\n\n---\n\n")
|
body_text.push_str("(in reply to another post)\n---\n")
|
||||||
} else if item.share_tree.len() > 1 {
|
} else if item.share_tree.len() > 1 {
|
||||||
body_text.push_str(&format!(
|
body_text.push_str(&format!(
|
||||||
"(in reply to {} other posts)\n\n---\n\n",
|
"(in reply to {} other posts)\n---\n",
|
||||||
item.share_tree.len()
|
item.share_tree.len()
|
||||||
));
|
));
|
||||||
}
|
}
|
||||||
|
@ -100,7 +100,7 @@ pub fn channel_for_posts_page(
|
||||||
body_text.push_str(&format!(" {},", cw));
|
body_text.push_str(&format!(" {},", cw));
|
||||||
}
|
}
|
||||||
body_text.pop(); // Remove trailing comma
|
body_text.pop(); // Remove trailing comma
|
||||||
body_text.push_str("\n\n---\n\n")
|
body_text.push_str("\n---\n")
|
||||||
};
|
};
|
||||||
|
|
||||||
if !item.tags.is_empty() {
|
if !item.tags.is_empty() {
|
||||||
|
|
Loading…
Reference in New Issue