Make current tab bold

This commit is contained in:
Joscha 2023-08-05 21:17:46 +02:00
parent db814b6d40
commit 52e2d74b96
3 changed files with 7 additions and 2 deletions

View file

@ -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,
})
}