fix missing root breadcrumb on history pages
This commit is contained in:
parent
11a11a5725
commit
d68855a73f
3 changed files with 5 additions and 3 deletions
|
@ -96,6 +96,7 @@ pub struct HistoryPage {
|
|||
pub title: String,
|
||||
pub commits: Vec<Commit>,
|
||||
pub tree_path: String,
|
||||
pub is_history: bool, // always true
|
||||
}
|
||||
|
||||
#[derive(Serialize)]
|
||||
|
@ -618,6 +619,7 @@ impl Generator {
|
|||
})
|
||||
.collect(),
|
||||
tree_path: tree_path.to_owned(),
|
||||
is_history: true,
|
||||
},
|
||||
season: Season::current(),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue