Rust library to generate static websites
5
fork

Configure Feed

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

fix(cli): Ignore changes in the target folder

+8
+6
crates/cli/src/dev/filterer.rs
··· 17 17 18 18 for tag in &event.tags { 19 19 if let Tag::Path { path, file_type: _ } = tag { 20 + // TODO: Customizable dist path 20 21 if path.ancestors().any(|p| p.ends_with("dist")) { 22 + result = false; 23 + break; 24 + } 25 + 26 + if path.ancestors().any(|p| p.ends_with("target")) { 21 27 result = false; 22 28 break; 23 29 }
+2
crates/cli/src/dev/server.rs
··· 196 196 &socket_addr.port().to_string() 197 197 ), 198 198 ); 199 + 200 + // TODO: Handle HTML documents with no tags, e.g. `"Hello, world"`. Appending a raw script tag will cause it to show up as text. 199 201 body.push_str(&format!("<script>{script_content}</script>")); 200 202 201 203 // Copy the headers from the original response