|
|
@ -171,11 +171,11 @@ impl Bread { |
|
|
|
) |
|
|
|
) |
|
|
|
.replace("{heading}", &date) |
|
|
|
.replace("{heading}", &date) |
|
|
|
.replace("{prev}", &(match prev { |
|
|
|
.replace("{prev}", &(match prev { |
|
|
|
Some(b) => format!(r##"<a class="#prev" href="{}" title="{}"><</a>"##, b.url, b.label), |
|
|
|
Some(b) => format!(r#"<a class="prev" href="{}" title="{}"><</a>"#, b.url, b.label), |
|
|
|
None => "".to_string() |
|
|
|
None => "".to_string() |
|
|
|
})) |
|
|
|
})) |
|
|
|
.replace("{next}", &(match next { |
|
|
|
.replace("{next}", &(match next { |
|
|
|
Some(b) => format!(r##"<a class="#next" href="{}" title="{}">></a>"##, b.url, b.label), |
|
|
|
Some(b) => format!(r#"<a class="next" href="{}" title="{}">></a>"#, b.url, b.label), |
|
|
|
None => "".to_string() |
|
|
|
None => "".to_string() |
|
|
|
})) |
|
|
|
})) |
|
|
|
.replace("{note}", ¬e_html); |
|
|
|
.replace("{note}", ¬e_html); |
|
|
|