Switch to custom templating library

This commit is contained in:
2021-05-20 16:16:02 +02:00
parent 6f8e1d46c7
commit 00412be372
8 changed files with 207 additions and 395 deletions

View File

@ -67,13 +67,13 @@ async fn file(cfg: &Config, relative: PathBuf) -> Result<(), Error> {
match remove_file(&link_path).await {
Ok(_) => {
info!("removed existing file {:?}", link_path);
debug!("removed existing file {:?}", link_path);
}
Err(e) if e.kind() == ErrorKind::NotFound => {}
Err(e) => return Err(e.with_location(&link_path)),
};
info!("linking {:?} to {:?}", link_path, build_path);
debug!("linking {:?} to {:?}", link_path, build_path);
let symlink_content = if build_path.is_absolute() {
build_path
} else {