replace anyhow with eyre

This commit is contained in:
zyl 2024-06-14 13:36:41 -07:00
parent 00b5567769
commit 27bd18beea
No known key found for this signature in database
GPG key ID: FDAEE0976A45AAC3
12 changed files with 172 additions and 77 deletions

View file

@ -27,7 +27,7 @@ pub fn render_basic_link_list(
builder: &SiteBuilder,
links: Vec<Link>,
title: &str,
) -> anyhow::Result<String> {
) -> eyre::Result<String> {
let data = LinkTemplateData { links, title };
let out = builder.reg.render("basic-link-list", &data)?;
let out = builder.build_page_raw(