Make current tab bold
This commit is contained in:
parent
db814b6d40
commit
52e2d74b96
3 changed files with 7 additions and 2 deletions
|
|
@ -18,6 +18,7 @@ struct Ref {
|
|||
struct IndexTemplate {
|
||||
base: String,
|
||||
repo_name: String,
|
||||
current: String,
|
||||
refs: Vec<Ref>,
|
||||
}
|
||||
|
||||
|
|
@ -43,6 +44,7 @@ pub async fn get(
|
|||
Ok(IndexTemplate {
|
||||
base: config.web.base(),
|
||||
repo_name: config.repo.name(),
|
||||
current: "index".to_string(),
|
||||
refs,
|
||||
})
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue