use crate::*;
#[derive(Template)]
#[template(path = "main_page.html.j2")]
struct MainPageTemplate {}
pub fn main_page(ctx: &BuildContext) -> Result<()> {
log_info("Rendering main page…");
ctx.write("index.html", MainPageTemplate {}.render()?)?;
Ok(())
}