static site generator
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

Fix directory not found or whatever the error message was

IamPyu 190d3c02 1bead0d4

+1 -1
+1 -1
src/lib.rs
··· 129 129 let engine = handlebars::Handlebars::new(); 130 130 let ctx = handlebars::Context::wraps(&config.vars)?; 131 131 let css_path = output.join("style.css"); 132 + create_dir_all(&output)?; 132 133 133 134 if let Some(css) = &config.css { 134 135 let css = read_to_string(&css)?; ··· 151 152 out.set_extension("html"); 152 153 rendered = comrak::markdown_to_html(&rendered, &comrak::Options::default()); 153 154 } 154 - 155 155 156 156 let css: maud::Markup = maud::html! { 157 157 link rel="stylesheet" type="text/css" href=(css_path.strip_prefix(&output)?.display());