make it more obvious when a branch has more content to it
This commit is contained in:
parent
9c65492aff
commit
1dfb3ccef9
5 changed files with 40 additions and 5 deletions
|
@ -111,7 +111,13 @@ pub fn branch_to_html(
|
|||
},
|
||||
Some(broken_link_callback),
|
||||
);
|
||||
if has_children {
|
||||
s.push_str("<span class=\"branch-summary\">")
|
||||
}
|
||||
markdown::push_html(s, treehouse, config, markdown_parser);
|
||||
if has_children {
|
||||
s.push_str("</span>")
|
||||
}
|
||||
|
||||
if let Content::Link(link) = &branch.attributes.content {
|
||||
write!(
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue