This commit is contained in:
parent
fac3e89d1c
commit
08900b5c2d
1 changed files with 10 additions and 6 deletions
|
@ -111,12 +111,16 @@ pub async fn get_page(config: Config) -> std::string::String {
|
||||||
.collect(),
|
.collect(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Err(_) => PortfolioTemplate {
|
Err(e) => {
|
||||||
error: true,
|
eprintln!("{}", e);
|
||||||
projects: Vec::new(),
|
|
||||||
waiting: Vec::new(),
|
PortfolioTemplate {
|
||||||
closed: Vec::new(),
|
error: true,
|
||||||
},
|
projects: Vec::new(),
|
||||||
|
waiting: Vec::new(),
|
||||||
|
closed: Vec::new(),
|
||||||
|
}
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
config.tmpl.render(
|
config.tmpl.render(
|
||||||
|
|
Loading…
Reference in a new issue