fix permalinks
looks like I mistakenly used the branch's `html_id` rather than the `named_id` when generating URLs...
This commit is contained in:
parent
f5c63359f4
commit
1423483b5c
1 changed files with 1 additions and 1 deletions
|
@ -344,7 +344,7 @@ impl Renderer<'_> {
|
|||
};
|
||||
let link = match linked_tree {
|
||||
Some(tree_path) => format!("{}/{}", self.config().site, tree_path),
|
||||
None => format!("{}/b?{}", self.config().site, &branch.html_id),
|
||||
None => format!("{}/b?{}", self.config().site, &branch.named_id),
|
||||
};
|
||||
self.button_bar(s, date_time, link_button, &link);
|
||||
|
||||
|
|
Loading…
Reference in a new issue