Rust library to generate static websites
5
fork

Configure Feed

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

fix(examples): kitchen-sink example

Princesseuh 12c06b85 f3b118ae

+6 -3
+2 -2
crates/framework/src/assets.rs
··· 230 230 self.hash.clone() 231 231 } 232 232 233 - fn process(&self, _: &Path, _: &Path) -> Option<String> { 233 + fn process(&self, dist_path: &Path, _: &Path) -> Option<String> { 234 234 // TODO: Image processing 235 - fs::copy(&self.path, self.build_path()).unwrap(); 235 + fs::copy(&self.path, dist_path.join(self.final_file_name())).unwrap(); 236 236 237 237 None 238 238 }
+4 -1
examples/kitchen-sink/src/main.rs
··· 13 13 coronate( 14 14 routes![pages::Index, pages::DynamicExample, pages::Endpoint], 15 15 vec![].into(), 16 - BuildOptions::default(), 16 + BuildOptions { 17 + tailwind_binary_path: "../../node_modules/.bin/tailwindcss".to_string(), 18 + ..Default::default() 19 + }, 17 20 ) 18 21 }