This commit is contained in:
2020-03-19 00:23:39 +01:00
parent e79bc05a1a
commit 6aa0a139a3
+2 -2
View File
@@ -171,11 +171,11 @@ impl Bread {
)
.replace("{heading}", &date)
.replace("{prev}", &(match prev {
Some(b) => format!(r##"<a class="#prev" href="{}" title="{}">&lt;</a>"##, b.url, b.label),
Some(b) => format!(r#"<a class="prev" href="{}" title="{}">&lt;</a>"#, b.url, b.label),
None => "".to_string()
}))
.replace("{next}", &(match next {
Some(b) => format!(r##"<a class="#next" href="{}" title="{}">&gt;</a>"##, b.url, b.label),
Some(b) => format!(r#"<a class="next" href="{}" title="{}">&gt;</a>"#, b.url, b.label),
None => "".to_string()
}))
.replace("{note}", &note_html);